Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

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??

share|improve this question

migrated from superuser.com Feb 2 '11 at 5:41

This question came from our site for computer enthusiasts and power users.

    
Please don't cross-post. –  Dennis Williamson Feb 2 '11 at 4:21
add comment

2 Answers 2

Try putting this in the .htaccess file in your root web directory:

DirectoryIndex index.html index.php
share|improve this answer
add comment

I believe this is down to permissions. Try CHMODing your files to 755.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.