Knowledgebase

Portal Home > Knowledgebase > cPanel > How do I get my site to automatically go to my first page?


How do I get my site to automatically go to my first page?


All your website's files and folders should be placed under the public_html directory in your cPanel. Please be sure to create an index file for your first page, this can be index.htm, index.html, index.php, etc. Our system looks for those exact names by default and it must be placed directly under public_html and not a subfolder. When you go to http://yourdomain.com, this file will then automatically open, without it your file structure will show instead.

For subdomains and other folders, when going to the folders at http://sub.yourdomain.com or http://yourdomain.com/folder/ an index file in them will behave the same way and automatically open. Please note, our servers are case sensitive so index.htm and Index.htm are two separate files. Index.htm will not be recognized as the default first page.

Was this answer helpful?


Add to Favourites Add to Favourites    Print this Article Print this Article


Also Read


Powered by WHMCompleteSolution

Language: