httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adam Hewitt" <ada...@staff.iinet.net.au>
Subject RE: [users@httpd] newbie vhost?
Date Fri, 03 Feb 2006 04:03:18 GMT


> -----Original Message-----
> From: Chris Pat [mailto:cpanon@yahoo.com] 
> Sent: Friday, 3 February 2006 11:08 AM
> To: users@httpd.apache.org
> Subject: [users@httpd] newbie vhost?
> 
> Hello
> I have Apache2.055 working with a "bare" domain name e.g.
> http://domain.com, however it will not work with 
> http://www.domain.com.  My vendor is saying it something 
> wrong with my apache setup.  It is the minimal vhost with 
> just a server name, admin, document root.  Can someone tell 
> me who is wrong?  tia.
> 

You need to also have a 

ServerAlias www.domain.com 

line in your vhost config as well if you want that to resolve.

Adam. 

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message