On Nov 6, 2007 1:24 PM, Michael Tinsay <[EMAIL PROTECTED]> wrote: > > > Point your DNS entries for both sites to the same ip address. > I added a forwarders option in named.conf pointing to the ISP's dns, but did not resolve the issue.
> In your webserver, enable virtual hosting. Make two virtual hosts pointed > to the same document root folder. I have no control over the webfiles and the oldsite is no longer up. Another thing that they want to happen is even though the oldsite is no longer up, every request to www.oldsite.com will redirect to www.newsite.com but the url of www.oldsite.com will be retained. I have no idea on how to do this. > ----- 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 > -- http://jangestre.wordpress.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

