I have a server named BlackBerry. I've assigned it the IP address of 192.168.1.211 from the DHCP on our router. On BlackBerry I have installed a virtual machine, Dev1, that uses a bridged network adaptor and gets the IP of 192.168.1.206. Both run Windows Server 2008 R2. I also have a Mac, running OS X Lion with a dynamic IP address.
I'd like to be able to access the different computers by their names or custom URL's instead of IP addresses. I've set up DNS on BlackBerry (192.168.1.211). I put the records in a dev
domain (e.g. BlackBerry.dev). I have an A record for BlackBerry and Dev1 with their appropriate IP's. Running nslookup BlackBerry.dev
returns 192.168.1.211. I can run nslookup
from the mac or either of the Windows machines.
Both Windows machines run IIS and can be accessed via their IP addresses. Type in http://192.168.1.211
in any browser and I get the right webpage. But if I type Dev1.dev
in the address bar, it can't find the page. Same thing for RDP. But using the IP addresses works.
What am I doing wrong? Why can't I type BlackBerry.dev
into an address bar and get the webpage hosted by that IIS?
Edit
I have configured the DNS in the router to resolve to 192.168.1.211 (BlackBerry). That is why nslookup
works, I think.
Edit 2
Sporadically works. Sometimes I can ping blackberry.dev
and sometimes I can't. For instance, I just successfully pinged the server, ctrl-c to stop, then pressed the up arrow (to repeat the command) and all of a sudden it can't be pinged.