How to assign a public name to your website hosted at Microsoft Azure.
In order to assign a public name to a Microsoft Azure website, the minimum hosting plan is Shared. By default, any new website is configured as Free.
In order to change the web hosting plan mode, these following steps can be used:
- Logged on the Microsoft Azure portal
- Click on websites
- Select the desired website that we are planning to associate a public name
- Click on Scale, select the web hosting plan mode based on your requirements
In this Tutorial we are going to select Basic and then to confirm we will click on Save.
A confirmation will be required, click on Yes to confirm. Note: All plans but Free will incur cost to your subscription.
The next step is to assign a new public name to the website, click on Configure, and then go to the domain names section. Then, click on Manage Domains.
In the new page, we can type in the desired domains, in our case www.ITPROCentral.com however before doing that we need to create a CNAME in our Public DNS pointing the www (CNAME) to itprocentral.azurewebsites.net. Another possible way is creating a record awverify.entry.itprocentral.com (where entry is the name that you want to use) pointing out to awverify.ITPROCentral.azurewebsites.net (where ITPROCentral is the name of our site in this example).
If you didn’t configure the DNS, then the following error message will be displayed. Make sure that your DNS is configured properly before adding the information (also propagation time of your DNS is important).
After having the Public DNS portion complete and entering the public name, we will have a similar scenario like the figure below. Click on OK to confirm the changes.
In this Tutorial, we went through the process to assign public names to a website hosted in Microsoft Azure, and as part of the process we also changed the web hosting plan of the website.