Reputation: 15253
I'm hosting my first site on Azure. After much trial and error, I got mysite.com to come up, but not if it's pre-fixed with www (getting a 404).
Here are my DNS settings:
A Records:
@ 1.2.3.4
ftp 1.2.3.4
www 1.2.3.4
CNAME
awverify awverify.mysite.azurewebsites.net
When I ping 1.2.3.4, the requests time out. How can I get www.mysite.com to resolve?
Upvotes: 0
Views: 156
Reputation: 26829
This is how I have set-up some of my Azure websites (and it works perfectly fine)
Assuming an Azure Website name is myazurewebsite and custom DNS is mywebsite.com I have one A record
mywebsite.com
IP:1.2.3.4
(IP taken from domain management in Azure Website)And two CNAME records:
awverify.mywebsite.com
points to host:awverify.myazurewebsite.azurewebsites.net
www.mywebsite.com
points to host:myazurewebsite.azurewebsites.net
Then I have Azure Website configured with two domain names (Configure > Domain Names)
You may be missing www
configuration in your DNS and Azure. I hope that will help.
Upvotes: 1