Server Fault is a question and answer site for system and network administrators. 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 am building a site for a client. For a reason unknown to me forwards to If i type it works correctly. I have checked .htaccess there was nothing there, so I set the index to index.php which works fine in every directory other than the root directory. I have root access and have checked the httpd.conf (did a search in VI for the document that I was being redirected to) and anything else I could think of. Where should I look next? The server is a VPS running CentOS 5.5 with multiple domains, has CPanel WHM 11 for root access and CPanel X installed for each domain.

share|improve this question
Also, the client says he did not set up and redirection or forwarding on this domain. – Mike L. Jan 4 '11 at 16:24
Did you check DNS? – cole Jan 4 '11 at 18:16

It could be another index.* file (HTML) in the root dir with an HTTP Redirect directive.

share|improve this answer

If you're running Firefox, there's an extension called 'Live HTTP Headers' which will give you a window into what the server is telling your browser about URL resolution and redirection; I've used this before to catch weird mod_rewrite stuff, which would be my first suspect for the culprit behind your problem. There may be a stanza in httpd.conf which redirects to a relative path, which your vim search might not have caught. Good luck; I hope this helps.

share|improve this answer

Your Answer


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.