Search code examples
azureazure-web-app-servicedomain-name

Can multiple domains point to the same Azure web app?


I'm using Azure for my website and I have 2 domain names that I would like to use for the same site.

For example, I want these 2 domains www.abc.com and www.abc.asia to be the same website (not redirected). Such that www.abc.com/contactus and www.abc.asia/contactus will be the same page.


Solution

  • Yes, this is possible (and easy to do). I did the following:

    1. Buy two separate domains.
    2. Configure the DNS A and TXT records of both domains to point to my Azure web app.
    3. On the Custom domains blade, clicked Add hostname to add each domain name.

    Both domain names now point to the same Azure web app.