bind forward one hostname to another host

All questions related to servers
Post Reply
mister_v
Posts: 188
Joined: Thu Mar 04, 2010 9:19 pm

bind forward one hostname to another host

Post by mister_v »

Hi,

Do you know how to bind forward one hostname to another host?

I tried :

Code: Select all

foo.example.com.    IN   A   192.168.1.1
bar.example.com.    IN   A   foo.example.com.
chris
Site Admin
Posts: 194
Joined: Mon Jul 21, 2008 9:52 am

Re: bind forward one hostname to another host

Post by chris »

Almost correct,
You need to add CNAME

Code: Select all

foo.example.com.    IN   A           192.168.1.1
bar.example.com.    IN   CNAME   foo.example.com.
Post Reply