IIS 7 and Above
How to access website hosted on IIS from Internet
Last post Jan 11, 2018 08:15 AM by RishabhV
Jan 05, 2018 08:44 AM|RishabhV|LINK
I am having trouble in setting up IIS access from internet, i can access it from Machines connected to my network but not from my public IP.
I am using Windows 10 Pro.
Steps i have followed:
1) Created a Firewall rule to allow connection on port 80.
2) Port 80 Forwarded from my router on my machine's IP-address 192.168.0.101
3) Enabled Dynamic Routing.
But i am still not able to access it from internet.
Jan 05, 2018 03:47 PM|lextm|LINK
Please read the External Client section for more details and hints on how to troubleshoot.
Generally speaking, such has little to do with IIS, and therefore falls out of the scope of this forum.
Jan 08, 2018 01:47 AM|Yuk Ding|LINK
Have you purchased the public domain from domain provider and bind the domain name with your public IP address? If you don't purchase the domain from public domain provider, then your domain name can't be resolved by internet client. So please ensure you
have set the public domain for your IIS server. If your server is a internal server, please set the NAT and DMZ with your router.
If your website only be used internally, then you need to add the website's CNAME to local DNS.
Jan 08, 2018 06:08 PM|RishabhV|LINK
Hello Yuk Ding,
I have a public domain registered, But i have not binded it with this project. Actually i wanted to access it from my IP address(My public IP address), Like we do to access the applications hosted in Cloud Eg Azure/GCP/AWS. Is it possible to access my IIS
application from IP address by forwarding required ports in firewall and router? Or i have to buy a static Ip address? I have set the NAT and DMZ with my router, I have also created Inbound rules in Firewall to open required ports.
Jan 09, 2018 08:13 AM|Yuk Ding|LINK
In fact I think it is possible. You only need to bind the website with IP address and blank host name. In addition, the ISP may block the access via 80 port in internet, so maybe you should try 8080 or any other port.
Jan 09, 2018 08:54 AM|RishabhV|LINK
Hi Yuk Ding,
I tried this :
NAT and DMZ running, I have set IP address in IIS to my public IP address and port to 8080, Added Inbound rule for Port 8080, Port 8080 Forwarded in my router.
But the it does not open the webpage. It says "Site can't be reached". So can i conclude it to as IP issue from my ISP, and i need Static IP to access my IIS website using IP address?
Jan 11, 2018 06:54 AM|Yuk Ding|LINK
Which IPv4 IP is displayed in your IIS server when you input ipconfig? Public IP or private IP ? I remembered the NATwill convert the public IP. So what about binding your internal server with private IP? On my side, I just tried to bind my private IP in
IIS server and expose it to DMZ. Then I can access the website via public IP. Of course, you still need to bind the public IP with domain in domain provider.
Jan 11, 2018 08:15 AM|RishabhV|LINK
On running ipconfig it shows private IP --> 192.168.0.102, I have binded my private IP in IIS and setup DMZ to this private IP, then tried to accessing it from internet, it still shows "site can't be reached".