Solved

Where is my web site folder in SFTP ?

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

One of the typical problems I have experienced is when you have to move a web server from one hosting site to another. You normally prepare all on the new host, transfer the site, change DNS and cross your fingers hoping all will be ok on new server…
If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

920 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now