Web Hosting Talk







View Full Version : Enabling wildcards on a shared IP


cantremember
07-19-2002, 06:27 PM
Is there any specific problems regarding enabling wildcards on a shared IP.

I've added "* IN CNAME domain.com" in zone file for a url redirection script but the script still will not redirect a subdomain.

Wondering if this is because it is a shared IP!

Any help appreciated.

Thanks

Phil

The Prohacker
07-19-2002, 06:46 PM
Add this to the vhost in the httpd.conf:

ServerAlias *.domain.com domain.com

cantremember
07-19-2002, 08:13 PM
Thanks for that -

It's fixed the problem!

Cheers

Phil