Click here to Skip to main content
15,124,011 members
Articles / Hosted Services / Azure
Tip/Trick
Posted 25 Mar 2015

Stats

57.4K views
11 bookmarked

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
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)

Share

About the Author

Sergey Kizyan
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 22:14
MemberMichael Gledhill21-Jul-16 22:14 
AnswerRe: Nicely done Pin
Sergey Kizyan21-Jul-16 23:19
professionalSergey Kizyan21-Jul-16 23:19 
QuestionPrecise Pin
Malhotra Sameer22-Oct-15 8:51
professionalMalhotra Sameer22-Oct-15 8:51 
AnswerRe: Precise Pin
Sergey Kizyan26-Oct-15 2:06
professionalSergey Kizyan26-Oct-15 2:06 
GeneralMy vote of 5 Pin
Humayun Kabir Mamun27-Mar-15 3:56
MemberHumayun Kabir Mamun27-Mar-15 3:56 
GeneralRe: My vote of 5 Pin
yaron gilboa14-Sep-16 4:13
Memberyaron gilboa14-Sep-16 4:13 
GeneralRe: My vote of 5 Pin
Sergey Kizyan14-Sep-16 4:31
professionalSergey Kizyan14-Sep-16 4:31 
Thanks a lot

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.