Iis – I can access site with host name IIS in local but not from other machines

iisiis-8web-hosting

Please check the way I configure.

  • Type : https
  • IP Address : All Unassigned
  • Port : 443
  • Host name : testing.mysite.com

Give ssl certificate that matches url and added DNS entry in hosts file.

And finally, my question is that is there any way to access the site from other machines. I mean access the site as https://<IP>:<port>/directory/filename

I can ping testing.mysite.com locally (pings with 127.0.0.1).

Best Answer

If you only created the DNS entry in the HOSTS file on the server itself, then other machines won't be able to browse to that site based on the name. You need a DNS A record in DNS that points your domain name to the appropriate IP address so that other systems can resolve the name.

Related Topic