Click to See Complete Forum and Search --> : domain.com www.domain.com


baragon0
08-30-2002, 02:54 AM
On the apache config file, does www.domain.com go to domain.com?

I've noticed that when I have www.domain.com on the file, domain.com doesn't work.

Do I need to have a seperate entry for both?

How about on BIND? Does each need its own entry?

kZahradnik
08-30-2002, 03:59 AM
A wildcard entry such as *domain.tld should do as far as I know.

baragon0
08-30-2002, 04:00 AM
Originally posted by kZahradnik
A wildcard entry such as *domain.tld should do as far as I know.

Tried that, and it makes it go to the Primary Virtual Host (the first in the list).

Dagda
08-30-2002, 09:23 AM
in the config file you need to add ServerAlias www.domain.com under the <VirtualHost domain.com> section