[CLOSED] Cannot bind a URL if it starts with www RSS

2 replies

Last post Aug 27, 2020 08:05 AM by Jalpa Panchal

  • [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

  • Re: [CLOSED] Cannot bind a URL if it starts with www

    Aug 26, 2020 07:51 PM|lextm|LINK

    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.
  • 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

    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue.
    If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.