Page 1 of 1

View all websites with root FTP access

Posted: Fri May 16, 2014 2:20 am
by jimmy
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?

Re: View all websites with root FTP access

Posted: Fri May 16, 2014 3:28 am
by pedagang
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

Re: View all websites with root FTP access

Posted: Fri May 16, 2014 5:50 am
by jimmy
pedagang 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
Yes, I know how to create ftp for each domain
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

Posted: Fri May 16, 2014 7:52 am
by pedagang
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

Re: View all websites with root FTP access

Posted: Sat May 24, 2014 10:59 pm
by drMacFaulty
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 :)

Re: View all websites with root FTP access

Posted: Fri Jun 27, 2014 12:00 pm
by imperio
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

Re: View all websites with root FTP access

Posted: Sun Jan 10, 2016 1:38 pm
by karljsamuel
Does I have all permissions with the folders with my domains?

Re: View all websites with root FTP access

Posted: Tue Jan 12, 2016 9:54 am
by skurudo
karljsamuel wrote:Does I have all permissions with the folders with my domains?
Almost all.
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
and inside /home/user/web/domain.com/logs (files just simplinks to /var/log/apache2/domains/..)

Re: View all websites with root FTP access

Posted: Mon Jan 18, 2016 4:45 pm
by mehargags
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.