Hi,

You can do the follwoing two steps to achieve this:

1. create a host in your DNS like 
somelink.foo.com with ip 172.16.1.2

2. Create a rewrite rule in your apache on 172.16.1.1, where 
http://foo.com/somelink redirects to http://somelink.foo.com

Hope this helps...
Sanvir 

Registered Linux User #163808 at http://counter.li.org 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
                         Just Believe in the Best 


[EMAIL PROTECTED] wrote:
Hi List,

We have a website http://foo.com at IP 172.16.1.1, and a context
http://foo.com/somelink where "/somelink" is at 172.16.1.2 different
server.

In otherwords user should always see website is at IP 172.16.1.1
(through DNS lookups etc) but when you run http://foo.com/somelink it is
running  from a different server IP  172.16.1.2 without change in main
domain name.

Fact is i don't want to reveal users the actual IP where is website
(http://foo.com/somelink, 172.16.1.2)  hosted.

Any pointers etc would be  of great help!
Regards,
Yash
 



_______________________________________________
ilugd mailinglist -- [EMAIL PROTECTED]
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/[email protected]/
Get Your Private, Free E-mail from Indiatimes at http://email.indiatimes.com

 Buy The Best In BOOKS at http://www.bestsellers.indiatimes.com

Bid for for Air Tickets @ Re.1 on Air Sahara Flights. Just log on to 
http://airsahara.indiatimes.com and Bid Now!


_______________________________________________
ilugd mailinglist -- [EMAIL PROTECTED]
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/[email protected]/

Reply via email to