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

Re: aliasing internet addresses



> At Wednesday, 3 December 2003, Micha Feigin <michf@post.tau.ac.il> 
> wrote:
> 
> >I want to alias internet addresses localy, is it possible?
> >For example to alias www.site1.org -> www.site2.org such that trying to
> >access www.site1.org would actually connect to www.site2.org.
> >I didn't see how to do this with /etc/hosts if it is even possible that
> >way.

If www.site2.org is static IP, why can't you just map www.site1.org to 
that IP in /etc/hosts?

Also if you run your own DNS you can do this; I've done this in Windows 
DNS Server (in my former life); I use dnsmasq on Linux.  There's a 
special type of DNS record for a full alias.



Reply to: