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.

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

1 Answer 1

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.