Dave Uhring wrote:
> On Mon, 26 Jul 2004 07:33:05 -0700, Charles Kendricks wrote:
>
>
>>Hi Linux Gurus,
>>
>> I'm trying to set up our website such that it can be accessed using
>>the domain name only, and without having to use the "www." before the
>>domain name. It seems to me that I should be able to accomplish this
>>either through DNS, or httpd.conf, but haven't been able to figure it
>>out yet. I'm running RH9, with Apache. Any suggestions??
>
>
> In your domain's zone file:
>
> foobar.net. IN A 123.231.34.56
> www.foobar.net. IN A 123.231.34.56
>
In DNS, do the following:
foobar.net. IN A 123.231.34.56
www.foobar.net. IN CNAME foobar.net.
The first sets up the absolute name resolution, the second sets up the
alias to the original (essentially).