Hitesh Sharma wrote:

What we are thinking 'bout is having a configuration in the LAN so that by
having a Web server engaged in LAN we could connect it by typing the address
'www.MY-Domain.com'. Is it possible to have such kind of arrangement in a
LAN that is never connected to the Internet, so that by having a WEB Server,
the users think that they are connecting to the Internet, but actually they
connect to the Local Web Server.
I think we could do this by having a DNS server. I have a box having RH 7.2
with Apache running on it. I have tried having a DNS server by configuring
named on it , but could not get it running.
Can any one help me with configuration of DNS on Linux so that i could refer
the apache web-server running on that box by typing www.my-domain.com from
my windows box.

There are two approaches to this problem. Is it ok for your users to visit that website by typing hhtp://mymachinename.?
If yes run intranet named server and in that map maymachinename to whatever ip. Run web server on machine called "mymachinename".


The second approach is , when your users want to give http://www.my-domain.com only. create a top level domain as .com and appropriate subdomain. Refer docs on how to do this.

Third and the WILD option, hardcode mapping of ip to www.mydomian.com in hosts file of each system , oof!



-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to