Tuesday, 8 October 2019

windows - Propagating Names for non-machine IP addresses in a home network


I have added two IP addresses in the network config of one of my PCs, and I'm using those IP addresses to host separate sites in IIS:


I can browse those sites from around my network no problem by IP address.


What I'd like to do next is to have names for those sites, so that I'm not having to enter IP addresseses. I know that I can do this by adding to the hosts file, but this seems a little unsubtle.


Question: Can I propogate names for these non-machine based IP addresses by configuring something on the PC hosting the sites?


NOTE - Context:


I have a home network (so no Domain/DC/AD) Variety of machines in XP/Vista/7/OSX/IOS My central router is a Linksys WAG320N if that's any help


If any further background would help, just ask.



Answer



You would need a Domain Name Server. This is a service running on a computer (or a cluster of computers) which resolves names into IP addresses.


Your DNS would also need to resolve Internet names as well, and be available all the time on your network, as it would have to be the main DNS server for your entire network (or any computers you want to access the websites on).


There are a number of different free DNS packages available (Windows Server comes with one already built in). Mara DNS looks pretty promising.


One big benefit of using names instead of IP addresses is you don't need to allocate a separate IP address for each website - they can all run on the same IP address but differentiate using the "Host:" header of the HTTP request (settable in the IIS config for the website).


An alternative would be to purchase your own domain (or sub-domain - they are often cheaper, sometimes even free) and have the DNS hosted on the Internet somewhere.


No comments:

Post a Comment

How can I VLOOKUP in multiple Excel documents?

I am trying to VLOOKUP reference data with around 400 seperate Excel files. Is it possible to do this in a quick way rather than doing it m...