Point your DNS entries for both sites to the same ip address. In your webserver, enable virtual hosting. Make two virtual hosts pointed to the same document root folder.
--- mike t. ----- Original Message ---- From: jan gestre <[EMAIL PROTECTED]> To: Philippine Linux Users' Group (PLUG) Technical Discussion List <[email protected]> Sent: Tuesday, November 6, 2007 10:44:00 AM Subject: Re: [plug] firewall router with dhcp and dns box problem On Nov 6, 2007 9:55 AM, Alec Joseph Rivera <[EMAIL PROTECTED]> wrote: > > VPS (hosts the site) > > 1 <----------------------> Internet > ^ > 2 <------------> LAN1 | > | > 3 <------------> Gateway <-----+ > ^ > +---> LAN2 > > > Is my understanding correct? Which lan could not view the site? > > I wasn't very clear with my explanation, it's only now that I was able to see the servers and their configs. The firewall/router/dns box have only two nics, one with public ip and another serves as gateway to LAN. The dns server is only a caching nameserver. With regards to the site, what they want to happen is that when user visit www.oldsite.com it will redirect it to the www.newsite.com but will retain the header www.oldsite.com. _________________________________________________ Philippine Linux Users' Group (PLUG) Mailing List [email protected] (#PLUG @ irc.free.net.ph) Read the Guidelines: http://linux.org.ph/lists Searchable Archives: http://archives.free.net.ph
_________________________________________________ Philippine Linux Users' Group (PLUG) Mailing List [email protected] (#PLUG @ irc.free.net.ph) Read the Guidelines: http://linux.org.ph/lists Searchable Archives: http://archives.free.net.ph

