kemakino
kemakino

Reputation: 1122

Using custom domain for an IIS app running on Azure VM

Sent from my Windows 10 phone I have a problem in seeing up a custom finding to reach the website which is running on Azure VM.

Recently I have set up a new VM on Azure Virtual Network and let it run an php application as IIS. I have successfully configured custom DNS label so I can reach to the website with "http://hogehoge.japaneast.cloudapp.azure.com".

However, I can't well get a way to set up a custom domain, for example, "http://hogehoge.net". I made some search and managed to create a new DNS Zone, and then I also added a CNAME record, which is shown in the attached image, to it.

But I can't reach to the site. I know it is probably matter of course since I didn't configure DNS registrar. Also I haven't yet purchased the domain.

I think I made some mistake in my procedure. Could anyone point out what is wrong?

enter image description here

Upvotes: 0

Views: 1114

Answers (1)

juunas
juunas

Reputation: 58873

The problem is that your machine is not using the Azure DNS nameservers by default. You should add the CNAME/A records in your domain registrar's records, not in Azure DNS.

Upvotes: 1

Related Questions