View all websites with root FTP access
View all websites with root FTP access
When using FTP and loging as root, I cannot see all the websites I created on /var/www/...
do I have to create FTP account for every domain to be able to upload files?
do I have to create FTP account for every domain to be able to upload files?
Re: View all websites with root FTP access
hi
domain root folder is "/home/admin/web/mydomain.com/public_html"
for ftp accout : learn your vestacp, look at "web" menu, you can create ftp accout under web name
ftp acces under "root" is not secure
domain root folder is "/home/admin/web/mydomain.com/public_html"
for ftp accout : learn your vestacp, look at "web" menu, you can create ftp accout under web name
ftp acces under "root" is not secure
Re: View all websites with root FTP access
Yes, I know how to create ftp for each domainpedagang wrote:hi
domain root folder is "/home/admin/web/mydomain.com/public_html"
for ftp accout : learn your vestacp, look at "web" menu, you can create ftp accout under web name
ftp acces under "root" is not secure
but the problem is that I have a few websites, I don't want to create FTP for each one to be able to upload files :(
I want to use a single FTP account (root in our case) and be able to upload different files for each website
Re: View all websites with root FTP access
so don't create ftp account at all
login ftp via "root" then you can access/upload to all folder, include all domain root folder "/home/admin/web/"
am I right ?
for file manager purpose and other, I install webmin and no problem with vestacp
login ftp via "root" then you can access/upload to all folder, include all domain root folder "/home/admin/web/"
am I right ?
for file manager purpose and other, I install webmin and no problem with vestacp
-
- Posts: 88
- Joined: Thu Mar 06, 2014 7:52 pm
- Contact:
Re: View all websites with root FTP access
I hope you do realize that using ftp as root is unsafe. As a second point, you may also run into permission issues, as you're uploading files with another user than the one that 'belongs' to that account which the webserver also uses.
I'd just get an ftp client with bookmarks and define them all once, after that it's click 'n enjoy :)
I'd just get an ftp client with bookmarks and define them all once, after that it's click 'n enjoy :)
Re: View all websites with root FTP access
Hi,
You can use login of user for ftp access
and then you will see all domains of your user
credentials for example
host - ip adress of your server
login - name of your user in vesta
password - password of you user in vesta
You can use login of user for ftp access
and then you will see all domains of your user
credentials for example
host - ip adress of your server
login - name of your user in vesta
password - password of you user in vesta
-
- Posts: 1
- Joined: Sat Jan 09, 2016 10:51 am
Re: View all websites with root FTP access
Does I have all permissions with the folders with my domains?
Re: View all websites with root FTP access
Almost all.karljsamuel wrote:Does I have all permissions with the folders with my domains?
As you can see, you can't touch from user:
Code: Select all
-rw------- 1 admin admin 40 Oct 21 11:51 .bash_history
-rw-r--r-- 1 admin admin 220 Sep 25 2014 .bash_logout
-rw-r--r-- 1 admin admin 3392 Sep 25 2014 .bashrc
drwxr-xr-x 5 root root 4096 Oct 21 08:02 conf
drwxr-x--x 4 root root 4096 Oct 28 17:30 mail
-rw-r--r-- 1 admin admin 675 Sep 25 2014 .profile
drwxrwx--x 2 admin admin 4096 Oct 21 08:02 tmp
drwxr-x--x 4 admin admin 4096 Dec 14 14:31 web
-
- Support team
- Posts: 1096
- Joined: Sat Sep 06, 2014 9:58 pm
- Contact:
- Os: Debian 8x
- Web: apache + nginx
Re: View all websites with root FTP access
you are complicating everything too much. Just put your IP or any domain in your Server field and login with your VestaCP User & password. For eg. If you have 10 domains hosted in your user "admin", loggin in with admin to your FTP will give you master access to all your Websites.
Beware with this method, your website may stop working if you delete/rename any system defined folder.
Beware with this method, your website may stop working if you delete/rename any system defined folder.