[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Making domainname.com resolve to www.domainname.com with BIND



This is what I ended doing is the following

     IN CNAME www

It's working...

Thanks everyone,

james
----- Original Message -----
From: "Paul Beltrani" <nahant allpointsconsulting com>
To: "Red Hat Enterprise Linux 4 (Nahant) Discussion List" <nahant-list redhat com>
Sent: Wednesday, January 31, 2007 2:04:52 PM (GMT-0500) US/Eastern
Subject: Re: Making domainname.com resolve to www.domainname.com with BIND

On Wed, 2007-01-31 at 10:31 -0500, James Marcinek wrote: 
> Does anyone know how to configure BIND to resolve any requests to domainname.com to www.domainname.com?
> 
> Thanks,
> 
> james
> 
> --
> nahant-list mailing list
> nahant-list redhat com
> https://www.redhat.com/mailman/listinfo/nahant-list
> 

Zone file for "domainname.com":

$TTL    86400
@       IN      SOA     fubar.domainname.com. hostmaster.domainname.com.
(
                                      2006101700 ; Serial
                                      28800      ; Refresh
                                      14400      ; Retry
                                      3600000    ; Expire
                                      86400 )    ; Minimum

        IN      NS      fubar.domainname.com.

;
       A       100.101.102.103
www    A       100.101.102.103


Apache configuration:
<VirtualHost *>
    ServerName www.domainname.com
    ServerAlias domainname.com

-- 
Paul Beltrani <nahant allpointsconsulting com>

--
nahant-list mailing list
nahant-list redhat com
https://www.redhat.com/mailman/listinfo/nahant-list


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]