Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm pretty sure that I have a very trivial problem and that lots of you guys have answered this kind of question a thousand times. But I just can't find any of these answers. So here we go.

I am managing a hosting account via cPanel. But for some reason trying to access the website's index file by just typing in the domain name (e.g. www.mydomain.com) always shows the cPanel default page (i.e. www.mydomain.com/cgi-sys/defaultwebpage.cgi). The site works fine if I specifiy the index file name (i.e. www.mydomain.com/index.php).

At first I thought it had somewhing to do with the DirectoryIndex configuration. So I checked the Apache conf, and everything seems to be in order (DirectoryIndex index.html index.htm default.htm index.php index.php3 index.phtml index.php5 index.shtml mwindex.phtml). Just do be sure I added a .htaccess to the server root with the same directives.

But to no avail. What am I doing wrong?

share|improve this question
add comment

1 Answer

up vote 3 down vote accepted

Are you sure it's not cached at your client? Have you checked with a different browser or a cleared cache? I've found that at least firefox is pretty stubborn in caching the cpanel default redirect.

share|improve this answer
    
D'oh! That was exactly it!!! I just trusted the the old Ctrl-F5 would do it in FF, but no. Just tried it in Chrome and all's good. FF's annoyance factor's rising...:( –  Tomm Nov 29 '11 at 22:19
add comment

Your Answer

 
discard

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.