Access Fully Qualified Domain Name within the LAN
-
I have a web server set up in my office and I want to be able to access it from other computers on the LAN using the domain name (www.mydomain.com) rather that using the IP address. I tried adding this line: 10.10.1.100 mydomain.com To the hosts file but that didn’t work. Does anybody know how I can do this? Thanks Brad
-
I have a web server set up in my office and I want to be able to access it from other computers on the LAN using the domain name (www.mydomain.com) rather that using the IP address. I tried adding this line: 10.10.1.100 mydomain.com To the hosts file but that didn’t work. Does anybody know how I can do this? Thanks Brad
After playing around, I've answered my own question.
Brad Fackrell wrote:
I tried adding this line: 10.10.1.100 mydomain.com
The line should read: 10.10.1.100 www.mydomain.com