Solved

Where is my web site folder in SFTP ?

Posted on 2011-09-19
3
387 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 500 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

Free Webinar: AWS Backup & DR

Join our upcoming webinar with experts from AWS, CloudBerry Lab, and the Town of Edgartown IT to discuss best practices for simplifying online backup management and cutting costs.

Question has a verified solution.

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

If you've heard about htaccess and it sounds like it does what you want, but you're not sure how it works... well, you're in the right place. Read on. Some Basics #1. It's a file and its filename is .htaccess (yes, with a dot in the front). #…
If, like me, you have a lot of Dell servers in the estate you manage this article should save you a little time. When attempting to login to iDrac on any server I would be presented with two errors. The first reads "Do you want to run this applicati…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

680 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