I have created a new domain and uploaded index.html to public directory. but it isnt displaying and cpanel default page is displaying instead. how can I change the same??
Try putting this in the .htaccess file in your root web directory:
DirectoryIndex index.html index.php
I believe this is down to permissions. Try CHMODing your files to 755.
Sign up using Google
Sign up using Facebook
Sign up using Stack Exchange
By posting your answer, you agree to the
terms of service.
2 years ago
7 months ago