![]() ![]() The server looks for these specific files in the following order: If you type in simply, the server will load the directory’s index file. For example, if you type in /contact_us.php, the server will return the contact_us.php page. If no particular file is specified, the directory index file will be the first file the server loads from a folder. If you are unsure of the document root folder for an addon or a subdomain because you did not go with the defaults, you can find it by using the following steps: How do I find the document root of an addon / subdomain? If there is an addon domain on your account, you will need to look at the >cPanel Addon Domains section in order to see where the root folder has been set. ![]() If your subdomain is, then the document root folder would be public_html/store.Īddon domain document roots are very similar to subdomains. The document root for a subdomain is a bit different. This means when someone visits your main domain, the server returns files that are located in the public_html folder. The document root for your main domain name is your public_html folder. (No hosting account? No problem- we’ve got you covered! Our VPS Hosting option takes the guesswork out of website hosting.) Finding the Document RootĪ domain’s document root, also known as the home folder, is the main folder that contains all of the files for either a domain or a subdomain. In this guide, we discuss how to determine the document root of your website. The specific directory you will upload them to will depend on whether you are working with the main domain, an addon domain, or a subdomain. If you need to upload files to your hosting account, you will need to know to which directory to upload them. ![]()
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |