Domain name usage question ?

Steven Purdy steve at
Fri Jun 4 09:31:57 BST 2004

1) In your httpd.conf  (Virtual Hosts declaration) add the line:

2) In your DNS Zone file make the "A" record point to and 
add a "CNAME" for www to point at
E.G.   IN A   x.x.x.x
www               IN   CNAME    (Note the trailing dot)

Hope that answers the question

Steve Purdy
RefTech Services Limited

Dave Tiger wrote:

>Hi List,
>I have a fully functioning dns (bind 9) and apache (1.3.xx) on FreeBSD 4.7
>that shows pages for (not real domain name) but how do I
>adjust the system to accept just (without the www) to show the
>pages dose.
>I cant quite work out how to do it from the docs and so I ask the list if
>someone could help me with and explanation on how to do this please.
>Thank you in advance for any help, examples or guidance with this.
>Dave Carrera

More information about the Ukfreebsd mailing list