Knowledgebase
Which directory should I upload my site in?
Posted by Tim Botherway on 23 May 2017 12:42 PM

The right directory is: /httpdocs

/httpdocs is the default root for all your website pages and is where your "index" file should be located

 

To find this directory, please follow these steps:

 

1. log in to your Openhost Control Panel

2. Choose your hosting plan in the Subscription drop-down box (top right)

root1 

3. Click on the Files tab in the navigation bar

root2

 

 

4. On the File Manger page, you will find the httpdocs directory in the left panel

root3

 

 

NB: There is an order of precedence in displaying a default webpage that varies from system to system. On Windows it is default.htm, Default.asp, index.htm, default.aspx, so if you upload your site, and the domain default page is still showing, then you should check and see if there is another default page that is higher in order of precedence. (if you are sure it is not your default page, then you can safely delete the file from your account)

To find this directory, please follow these steps:

 

1. In the Websites & Domains page, click on the Hosting Settings link next to the domain in question

root4

 

 

2. Change the name of the directory in the Document root field and click OK to save

root5

 

 

Note for Linux Website Hosting plan:

  • Files for serving over SSL should also be placed here

 

Note for Windows Website Hosting plan:

  • /httpsdocs is used for providing for "shared SSL"

 

(0 vote(s))
Helpful
Not helpful

Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments:
CAPTCHA Verification 
 
Please enter the text you see in the image into the textbox below (we use this to prevent automated submissions).