new Sphero Ollie App Enabled Droid - Teach Your Children to Code for Ages 8. When you are ready to upload your website, in order for it to display on the Internet the files must be placed in the correct folder. Shop online for klipped kippah at Ubuy Qatar, a leading eCommerce store with. By default, your primary domain document root is public_html. You can change the Directory Index of your site by modifying the. What is the Document Root? Your Main DomainĪll domain names in your account have a document root. The document root is the folder that stores the files for your website. The document root for your main domain name is the public_html folder. When you are ready to upload your website, the files will go into the public_html folder. Once you have uploaded an index page, it will over-ride the default "Hello There!" page that accounts show upon sign-up. When you add additional domains to your account, it will create a folder in your public_html folder for that domain. With a subdomain the folder will be called the same name as the subdomain, for example public_html/subdomain. For an Addon Domain, by default it will create a folder in your public_html folder with the same name as the Addon Domain. If you would like you can change the document root for your Addon Domain when it is created to a different folder. The directory index is the first file the server loads and by default will be the index file within the document root of the domain (the public_html folder if it is your primary domain). Our servers always load the file called "index" if your domain is typed into the browser, first looking for index.htm, then index.html, and finally index.php. When your account is first created, we also place the default.htm file (the default "Hello There!" page) in your account that will load if no index files are found. If there is no index or default file in your folder, then the website will not load unless the directory index is modified. Some website design applications will name the home page something other than index. For example, the application may name your homepage Welcome.html or Home.html. If your application does this, you will need to modify your site so that the directory index matches the name of your website's first page. In the following example we will assume you want your domain to point to Welcome.html when it is visited in a browser. htaccess file so that the server will load Welcome.html first. htaccess file in your domain's document root and add the following line: DirectoryIndex Welcome.html. Once that is added, when your domain is visited that page will be loaded first.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |