Lex Li
Affordable IIS Consulting Services at https://support.lextudio.com/services/consulting.html
---------------------------
This posting is provided "AS IS" with no warranties, and confers no rights.
could you share how you are set the site binding for hostname in iis? is it purchased domain name or custom? you could try to set the domain name in iis by adding ip and hostname in host file which is located at C:\Windows\System32\drivers\etc.
.NET forums are moving to a new home on Microsoft Q&A, we encourage you to go to Microsoft Q&A for .NET for posting new questions and get involved today.
1 Post
[CLOSED] Cannot bind a URL if it starts with www
Aug 26, 2020 05:06 PM|MarcelloExem|LINK
I have an ASP.NET MVC site running on my IIS server, in my bindings I have declared a binding for the url and that is working fine.
I have tried accessing the site by doing www.{URL HERE} and it's showing a DNS_PROBE_FINISHED_NXDOMAIN error in chrome.
I tried adding a binding for the URL with the www. in and still get faced with the same issue.
Any suggestions would be much appreciated.
Thanks Everyone!
Edit: Issue was with DNS, not with IIS
8957 Posts
MVP
Re: [CLOSED] Cannot bind a URL if it starts with www
Aug 26, 2020 07:51 PM|lextm|LINK
The run a report and see what it says,
https://docs.jexusmanager.com/tutorials/binding-diagnostics.html
Affordable IIS Consulting Services at https://support.lextudio.com/services/consulting.html
---------------------------
This posting is provided "AS IS" with no warranties, and confers no rights.
1616 Posts
Re: [CLOSED] Cannot bind a URL if it starts with www
Aug 27, 2020 08:05 AM|Jalpa Panchal|LINK
Hi,
could you share how you are set the site binding for hostname in iis? is it purchased domain name or custom? you could try to set the domain name in iis by adding ip and hostname in host file which is located at C:\Windows\System32\drivers\etc.
192.168.1.10 www.yourdomain.com