Page 1 of 1

How to access config files?

Posted: Sat Jun 08, 2019 10:33 am
by yoyomolen
Hi, I've just installed Vestacp. But when I log into the ftp with admin account, I don't see the configuration files or the usual folder structure such as "usr", "etc", "var".
The /conf/web/ folder is empty.
How can I access config files such as httpd.conf?
Thanks

Re: How to access config files?

Posted: Tue Jun 11, 2019 11:14 am
by linuxman
yoyomolen wrote:
Sat Jun 08, 2019 10:33 am
Hi, I've just installed Vestacp. But when I log into the ftp with admin account, I don't see the configuration files or the usual folder structure such as "usr", "etc", "var".
The /conf/web/ folder is empty.
How can I access config files such as httpd.conf?
Thanks
You add some domain or subdomain to you Vesta?
With ftp you can't edit this files only like root or sudo permissions.
You need access with ssh or sftp like root account.

Re: How to access config files?

Posted: Wed Jun 19, 2019 2:31 am
by zukkeo

You add some domain or subdomain to you Vesta?
With ftp you can't edit this files only like root or sudo permissions.
You need access with ssh or sftp like root account.
Can I use WinScp to edit my website file? Will it work?
I am talking about this tool https://winscp.net/eng/download.php
Also, I tried to edit my niagara stealth toilet post https://bestflushingtoilet.org/niagara- ... t-reviews/ and I failed to do that. It was asking permission to do that and I don't know how to get that!

Re: How to access config files?

Posted: Wed Jun 19, 2019 7:04 am
by linuxman
zukkeo wrote:
Wed Jun 19, 2019 2:31 am

You add some domain or subdomain to you Vesta?
With ftp you can't edit this files only like root or sudo permissions.
You need access with ssh or sftp like root account.
Can I use WinScp to edit my website file? Will it work?
Yes with WinSCP you can edit you website files.

Re: How to access config files?

Posted: Fri Jun 21, 2019 11:55 am
by johnk42
The advice you get here seems to be very vague. It's possibly a translation issue.

WinSCP only allows you to access Web Files, not Server Files as the writer above stated.

You'll need something like pUTTY for Widows to access your server. Here's a great tutorial for setting up pUTTY:

https://www.digitalocean.com/docs/dropl ... ssh/putty/

Although it's written by the crew at DigitalOcean, it should work with any server.

Now for the problem: VestaCP seems to create a directory system starting at root. You can't just go to the root directory and enter cd etc. There is no sub directory named /etc. Despite this, all the Vesta documentation I've seen simply states that the config files are in /etc/xxx/xxx/. That's fine, but where in the living blazes is /etc hidden? What is the path to /etc?

Once we figure that out, you and I will be happy.