DirectoryIndex

vps

#1

I used the DH panel to create a new domain with web hosting. When I take a look at my httpd.conf, I see that DH has added a new virtual host (see below). I take this config to mean that if the user browses to http://www.mydomain.com, Apache will offer up /home/svc_web/mydomain.com/index.html.

It doesn’t. A redirect occurs to http://psxxxx.dreamhostps.com/. Oddly, if I browse explicitly to http://www.mydomain.com/index.html I get the expected content. I definately don’t want the users to have to type index.html.

What the heck?

ServerAdmin webmaster@mydomain.com DocumentRoot /home/svc_web/mydomain.com ServerName www.mydomain.com ServerAlias mydomain.com DirectoryIndex index.html index.shtml index.htm Index.html Index.htm...