Step 1: Log in to your cPanel.
Step 2: Click File Manager under Files panel.
Step 3: Locate your Magento directory.
Step 4: Select index.php and edit the file.
Step 5: Click Edit.
Step 6: You will be prompted with a pop up window. Click Edit.
Step 7: View the content of the index file and check if it has the following comment.
You need to edit the file and remove the hashtag (#). In case it does not have the comment, insert the following code on the first line:
Step 8: Click Save Changes button.