Follow these steps to change your home page to main.php: Login to cPanel Scroll down to the Files section and click on the File Manager icon (it says File Manager under it) A window pops up with options. Select the Web Root option, and check the Show Hidden Files (dotfiles) checkbox Click OK Create a file named main.php using the New File button in the top left corner of your screen (if it does not yet exist) Now look for a file named .htaccess If it does not exist, create it with the New File button Select your .htaccess file and click on Edit above In the window that opens, type (or paste) DirectoryIndex main.php Click Save Changes in the top right Your site will now go to main.php instead of index.php