?
Solved

Where is my web site folder in SFTP ?

Posted on 2011-09-19
3
Medium Priority
?
393 Views
Last Modified: 2013-12-02
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) ???
0
Comment
Question by:monro1964
3 Comments
 
LVL 10

Accepted Solution

by:
acbxyz earned 2000 total points
ID: 36563331
It depends on your server configuration. Most times, a document root is located at /var/www or /srv/www, but this can vary.
0
 
LVL 21

Expert Comment

by:Papertrip
ID: 36563353
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
 

Author Closing Comment

by:monro1964
ID: 36563505
For me : VPS at Networksolutions, it is
var/www/vhosts

Tks
0

Featured Post

The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Media Temple is thrilled to announce the launch of our new Partner Program, specifically designed to empower digital agencies and adtech platforms by offering white-glove support and exclusive hosting enhancements to optimize their sites and their c…
The following information will get you familiar with your new DV server, including the (mt) Account Center, the Plesk Control Panel, our world-renowned support department and the rest of the (mt) tools that come with your new service.
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Suggested Courses
Course of the Month3 days, 19 hours left to enroll

601 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question