How to access website with HostName in ASP.Net

on Sep 01, 2017 05:14 AM

I am trying to deploy a site on IIS 10 to use locally. When I am trying to open it with Host Name its not working but working fine with IP address. 

The message it is throwing is :

This page can not be reached.
Try this
Verify that the URL is correct: http: // website

Download FREE API for Word, Excel and PDF in ASP.Net: Download
on Sep 01, 2017 05:38 AM
on Sep 01, 2017 05:39 AM

Thanks for this solution,

I have setup DNS locally in Host file to use but can I access it on another computer by LAN or intranet