Solved

Where is my web site folder in SFTP ?

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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
CFFILE upload help 98 158
Has my website been infiltrated? 21 66
trust relationship between this workstation and the primary domain 5 30
Two wordpress questions 3 45
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 don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

776 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