apache default page instead of index.html

Discussion in 'Installation/Configuration' started by winsbury, Dec 11, 2014.

  1. winsbury

    winsbury New Member

    I dont know if this is a well known issue but its had me foxed for a while so I offer the solution here:

    servername: server1.mydomain.tld
    vhost: mydomain.tld ( & www.mydomain.tld )
    1x IP address so all vhosts set to use *

    http://mydomain.tld & http://www.mydomain.tld gives Apache default page

    http://mydomain.tld/index.html & http://www.mydomain.tld/index.html gives correct website

    All other vhosts with different otherdomains.tld names are working correctly.

    [solved] add "DirectoryIndex index.html" to Apache directives for mydomain.tld vhost

Share This Page