Hi, The DNS for my web-site mynet.com is hosted on a public DNS server somewhere in the UK.
According to your first solution, I will have to make an entry on my server (not the one which cotains the DNS records for mynet.com) which will say sitea.mynet.com IN A 192.168.0.111 siteb.mynet.com IN A 192.168.0.112 Any http request to site1.mynet.com will go to the public DNS server in UK first to be resolved. That would probably say site1.mynet.com IN A <my static IP address> site2.mynet.com IN A <my static IP address> Then if it comes to my Linux box which has two network cards, one with the static IP assigned to it and one with a local ip 192.168.0.10, would it be further resolved by my DNS server to go to different local Ips. Would the DNS server behave like a router. I haven't tried much of DNS so I wouldn't know much about it. I hope this is not a silly question :) Regards, Sam -----Original Message----- From: baxlinux [mailto:[EMAIL PROTECTED]] Sent: 04 May, 2002 17:01 To: Simanta J Handique Subject: Re: [LIH] One Public IP Address, Two sites on two different machines there is one static ip address provided by internet service provider and u have two ip address for two different website on different webservers. one solution is that u can use DSN service on your server and resolve your ip with your name. anotehr solution is that use only one webserver like as apache and create different virtual host(ip based) for two different website. I hope it will solve your problem or helping to sovle your problem.. Bye... "Simanta J Handique" wrote: Hi all, I have a static IP and I need to host two sites. One is running off 192.168.0.111 on the lcal net using Apache and the other is running off 192.168.0.112 using an iPlanet Web server. The machine which is on the internet has two network cards one with the static IP and the other with a local IP 192.168.0.10. Later on, we will be placing this machine behind a gateway with a firewall. Is it possible to route all requests made to sitea.mynet.com to 194.168.0.111 and siteb.mynet.com to 192.168.0.112. sitea.mynet.com and siteb.mynet.com both point to the static IP address Regards, Sam ===== Regards, Sam ===== Regards, Sam __________________________________________________ Do You Yahoo!? Yahoo! Health - your guide to health and wellness http://health.yahoo.com _______________________________________________________________ Have big pipes? SourceForge.net is looking for download mirrors. We supply the hardware. You get the recognition. Email Us: [EMAIL PROTECTED] _______________________________________________ linux-india-help mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/linux-india-help
