Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

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

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

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

share|improve this answer

Your Answer

 
discard

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