View Single Post
Old 20th March 2010, 20:32
dbrumbaugh dbrumbaugh is offline
Junior Member
Join Date: Mar 2010
Posts: 6
Thanks: 0
Thanked 1 Time in 1 Post
Default Virtual hosting directive

Unless I have gone blind (my mother told me it would happen), I think you are missing the NameVirtualHost directive.

In the config file just prior to your first <VirtualHost *> directive, insert this line:

NameVirtualHost *:80

Should look something like this:
NameVirtualHost *:80

<VirtualHost *:80>
ServerName www.domain.tld
ServerAlias domain.tld *.domain.tld
DocumentRoot /www/domain

Hope this helps.

Last edited by dbrumbaugh; 20th March 2010 at 20:34. Reason: correct mistook
Reply With Quote