Am Son, 2003-09-07 um 20.41 schrieb Cody Harris: > Oops, forgot to add my message. > > This DOES not work (adding the line to /etc/hosts) Ok. Where do your requests come from? From the outside? Then you need to update your DNS, so everybody else uses the correct IP addresses. If you can't do that, you need a name-aware proxy for every service you want. Cheers, Ralf > > ---------- Forwarded Message ---------- > > Subject: Re: Hostname Routing > Date: Sunday 07 September 2003 3:39 pm > From: Cody Harris <hchs@xxxxxxxxxxxxxxx> > To: netfilter@xxxxxxxxxxxxxxxxxxx > > On Sunday 07 September 2003 6:11 am, Ralf Spenneberg wrote: > > Am Son, 2003-09-07 um 01.53 schrieb Cody Harris: > > > Hello. I have researched your database on this subject (hostname > > > routing), but found nothing much. What i want is to take domain.com:* and > > > deliver that to the local machine (127.0.0.1), but i want > > > alt.domain.com:* to go to 192.0.0.2. How is this done? > > > > Am I missing something? > > What about the following in /etc/hosts: > > 127.0.0.1 localhost localhost.localdomain domain.com > > 192.0.0.2 alt.domain.com > > > > Or do it on you DNS server. > > > > Cheers, > > > > Ralf > > ------------------------------------------------------- -- Ralf Spenneberg RHCE, RHCX Book: Intrusion Detection für Linux Server http://www.spenneberg.com IPsec-Howto http://www.ipsec-howto.org Honeynet Project Mirror: http://honeynet.spenneberg.org