I have set up a website in IIS on QA server. I added binding and made entry in hosts file
Binding
IP: 123.43.12.45
Port: 80
HostName: mysite.mydomain.com
Hosts file entry
123.43.12.45 mysite.mydomain.com
At this point of time I'm on QA server through RDP access and able to browse website. Now I logged out from QA server and tried to browse the website on my laptop but got following error:
This site can’t be reached
mysite.mydomain.com’s server DNS address could not be found
I am connected to my company network( through Cicso Anyconnect VPN) so I thought I would be able to access site even from my laptop.
Then I added following entry on my laptop hosts file
123.43.12.45 mysite.mydomain.com
Now I'm able to browse website.But in this way I have to ask client to make this entry in hosts file which I don't want.
Am I missing some configuration or there is any other way to access website without making entry in hosts file.