Click here to Skip to main content
15,867,704 members
Articles / Hosted Services / Azure
Tip/Trick

Set Your GoDaddy Domain Name To Your Azure Website

Rate me:
Please Sign up or sign in to vote.
4.42/5 (9 votes)
25 Mar 2015CPOL2 min read 70.2K   11   7
Assigning domain name to Azure web site

Introduction

Recently, I tried to set the domain name that I bought in GoDaddy to my Azure website. I had to read from several sources in the web to complete this operation properly. Below, I'm sharing my compilation of those sources and the way in which I assigned my domain name to Azure website.

  1. When you deployed your website to Azure, you need to make sure it works. Open the following link: <yoursitename>.azurewebsites.net in the browser and make sure everything is ok.
  2. The next step is to change your web hosting plan mode to one from: Shared, Basic or Standard. You can read more about plans at the following links:

    To change web hosting plan, you need to open SCALE menu from your website page in Azure and change your plan there. The screenshot below shows how I changed my plan to SHARED.

    Image 1

  3. Until you change your hosting plan to one mentioned above, you are not able to use "Manage domains" command from menu at the bottom of the Azure portal. It is not active till the plan is set. Now when we have our plan set, we can click "Manage domains" to add domain name different from the Azure one to our website.

    Image 2

  4. When we click manage domains, the following window will appear:

    Image 3

    Here, I erased the name of my website but this shouldn't affect you at all. Now, when we have this window opened, it is time to go to GoDaddy and complete few actions there.

  5. Login to your account in GoDaddy and click "Manage" button for DOMAINS. Select the domain you want to use and select "DOMAIN DETAILS".

    Image 4

  6. In domains details, select "DNS ZONE FILE" and change\add 4 parameters there:
    1. A(Host) change "Points To"value there to IP address from the window in step 4
    2. In Cname (Alias), I had to add averify parameter and set its "Point To" value to my Azure site name
    3. In Cname (Alias) I had to add averify.www parameter and set its "Point To" value to my Azure site name
    4. In Cname (Alias) I changed www parameter and set its "Point To" value to my Azure site name

    Image 5

  7. When all these steps have been done, go back to windows "Manage custom domains" from step 4 and there, set your domain name from GoDaddy. Press ok, wait for some short time and try to use your domain new name to open your Azure web site content. It should work.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Architect
Ukraine Ukraine
Working on different projects and technologies from web to low level core programming, from scripting languages to C++. With all this stuff my personal opinion is that C#,.NET and Microsoft environment is the best thing programmer may have. Basing on it I prefer to publish only about my favorite technologies that are .NET and Azure now.

P.S. Looking for partnership and cooperation in outsourcing.

Comments and Discussions

 
QuestionNicely done Pin
Michael Gledhill21-Jul-16 21:14
Michael Gledhill21-Jul-16 21:14 
AnswerRe: Nicely done Pin
Sergey Kizyan21-Jul-16 22:19
professionalSergey Kizyan21-Jul-16 22:19 
QuestionPrecise Pin
Malhotra Sameer22-Oct-15 7:51
professionalMalhotra Sameer22-Oct-15 7:51 
AnswerRe: Precise Pin
Sergey Kizyan26-Oct-15 1:06
professionalSergey Kizyan26-Oct-15 1:06 
GeneralMy vote of 5 Pin
Humayun Kabir Mamun27-Mar-15 2:56
Humayun Kabir Mamun27-Mar-15 2:56 
Nice...
GeneralRe: My vote of 5 Pin
yaron gilboa14-Sep-16 3:13
yaron gilboa14-Sep-16 3:13 
GeneralRe: My vote of 5 Pin
Sergey Kizyan14-Sep-16 3:31
professionalSergey Kizyan14-Sep-16 3:31 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.