Where is my web site folder in SFTP ?

Now I can use the SFTP option to access the site, using the root login/password

Where is my web site HOME folder on all those folders. (In FTP it is HTTPDOCS) ???
monro1964Asked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
acbxyzConnect With a Mentor Commented:
It depends on your server configuration. Most times, a document root is located at /var/www or /srv/www, but this can vary.
0
 
PapertripCommented:
The root directory for a website in Apache is defined by "DocumentRoot".  This can be set either in the main server section of httpd.conf, or inside a virtual server config block.

If this is a hosted site and you don't have access to view those configs, ask your hosting provider.

# DocumentRoot: The directory out of which you will serve your
# documents. By default, all requests are taken from this directory, but
# symbolic links and aliases may be used to point to other locations.
#
DocumentRoot "/var/www/html"

Open in new window

0
 
monro1964Author Commented:
For me : VPS at Networksolutions, it is
var/www/vhosts

Tks
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.