I created a new VM from Microsoft Azure portal. I've configure my local website on IIS and its working fine when I browse my website from localhost.

Here I attached screen shot:

enter image description here

enter image description here

But I want to run my website with my domain asyncsol.com. I have successfully configured custom DNS on azure here is the screen shot:

enter image description here

Also I set provided azure nameservers against my domain name here is the WHOSIS screenshot:

enter image description here

and Configure my IIS binding settings with the same domain and its IP

enter image description here

after configure when I browse my domain its shows me this default page.

enter image description here

Now my question is how I access my website through my custom domain name. Please let me know what I'm doing wrong.

Also I post my question on MSDN.


I m following this tutorial for my dns configurating on Azure

Tutorial: Host your domain in Azure DNS

enter image description here

  • OK so youve set up the domain to point to the DNS servers, but have you set the DNS servers to point to your IIS server IP? – Digital Lightcraft Jul 16 '18 at 9:30
  • @DigitalLightcraft How I can set DNS servers to point to my IIS server IP? – Ahmer Ali Ahsan Jul 16 '18 at 9:35
  • I'm not familiar with Azure DNS'es but you'll need to get access to that - I suggest contacting Azure support. – Digital Lightcraft Jul 16 '18 at 9:55
  • Do you have Azure web app service? – Nancy Xiong Jul 17 '18 at 5:56

I found that you have Azure Web App service using nslookup utility.

C:\windows\system32>nslookup www.asyncsol.com
Server:  xxxx.com

Non-authoritative answer:
Name:    x.x.x.cloudapp.net
Address:  x.x.x.x
Aliases:  www.asyncsol.com

Probably, you need to map your existing custom DNS domain name to Azure Web Apps.

Navigate to your Web app service asyncsol.azurewebsites.net, select Custom domains. In the Custom domains page of the app, add the DNS name www.asyncsol.com to the list. Select Validate. The Add hostname page is shown. Select Add hostname. It might take some time for the new hostname to be reflected in the app's Custom domains page.

  • I see your issue has been resolved but can you tell if my reply is helpful? Or others can get a help in this case if you edit your solution here. – Nancy Xiong Jul 25 '18 at 9:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.