redirect web server

beni beni at cp.co.id
Wed Aug 15 12:43:51 UTC 2001


Thank you for your advice, I'll try it. 

On Tuesday 14 August 2001 10:59, Barry Margolin wrote:
> In article <9ladq0$4g1 at pub3.rc.vix.com>, beni  <beni at cp.co.id> wrote:
> >I have dns server with domain domain.com with ip public, and i have web
> >server in other location with ip public, but no dns server in it.
> >In domain.com of dns server, I set www IN A ipwebserver.
> >Is it right way?  If it is wrong, how to i set redirect www?.
>
> Is "ipwebserver" a name or IP address?  If it's the IP address, this is
> correct.  It's not a redirect, it's just the address of www.domain.com.
>
> If "ipwebserver" is a name, you should use a CNAME record to make an alias:
>
> www IN CNAME ipwebserver
> ipwebserver IN A 1.2.3.4
>
> where 1.2.3.4 should be replaced with the IP address of the web server.


More information about the bind-users mailing list