Adding custom domain to Azure Web Application

Posted: November 11, 2017 in Azure
Add Azure public DNS name to your DNS manager (i’m using GoDaddy)
1
Create CNAME record and map it to Azure public DNS name
2
Now introduce Azure about these changes:In Azure Web Application properties click Custom domains-Add hostname-type your domain name (with www part)-Validate-Add hostname
3.png
Try to type http://www.your-dns-name in browser
4.PNG
If we want to remove www part we need to add Azure public IP into our DNS manager (preferably static public IP)
4-1
Create host A record and map Azure public IP to it
4-2
Create TXT record and map it to Azure public DNS name
5
Again, propagate these changes to Azure,same procedure as before:
In Web app properties click custom domains-Add hostname-enter hostname (without WWW part)-Validate-Add hostname
6.png
7
Now, in browser enter http://your-dns-name (without WWW part)
8.PNG
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s