[plug] question re: virtualhost in Apache
Pabs
pabs at perthimc.asn.au
Wed Nov 19 17:04:53 WST 2003
On Wed, 19 Nov 2003, Jon Miller wrote:
> I've got a virtual host setting for a client where the servername is the www.servername.com.au. This points to the correct server where the clients web pages are stored. If a user types in servername.com.au they do not get redirected to www.servername.com.au. The ISP has confirmed that there is an entry (A record) for servername.com.au pointing to the main router. Do I have to create another VirtualHost entry in the /etc/httpd/conf/httpd.conf for servername.com.au?
You need to add a ServerAlias option:
ServerName www.foo.com.au
ServerAlias foo.com.au
ServerAlias *.foo.com.au
Bye,
Pabs
_______________________________________________
plug mailing list
plug at plug.linux.org.au
http://mail.plug.linux.org.au/cgi-bin/mailman/listinfo/plug
More information about the plug
mailing list