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

How come I can only visit the subdomain, e.g. subdomain.domain.com, if I include index.php?

subdomain.domain.com, doesn't work.

subdomain.domain.com/index.php works.

do I have to change something in the httpd.conf file?

I'm sorry if that's a stupid question, I just couldn't figure it out myself.

share|improve this question
up vote 3 down vote accepted

You need to specify index.php in the DirectoryIndex of your httpd.conf. It is not included by default.

share|improve this answer

Your Answer

 
discard

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