Configuring custom domains for your Azure web applications

Posted: (EET/GMT+2)

 

As I'm writing this, a small web application is about to be published live. It's an ASP.NET MVC application written with C# (my favorite choice), and it runs on Azure. Azure web sites by default are accessible using the URL nnn.azurewebsites.net. However, most users prefer a more straight-forward domain name, like the classic www.company.com to access the site. This is the case with my application as well, just that the domain ends in ".fi".

To get this working, you need to have a public DNS server somewhere, for instance the one from your ISP. Then, you need to create the suitable A and CNAME records into your DNS server, and then

For instructions on how to implement this, check out the topic called "Configuring a custom domain name for an Azure Website" on the Azure documentation portal.

Hope this helps!