For the last few days, I have been questioned by many of my followers on how to point our own domain in Windows Azure. Once we designed and deployed our application to the Windows Azure environment we will be provided with a custom domain i.e. <MyApplicationName>.cloudapp.net now we need to change it to a custom domain of our own say www.f5debug.net or some other domain of your choice we need to have a way we can redirect the application URL to the domain we purchase from the Domain registrar companies.
Custom domain mapping can be done with 2 ways basically with any type of environment, but with Windows Azure its always better to go with CNAME mapping rather than assigning A Record. [more]
- CNAME Mapping
- A Record
CNAME Mapping: With CNAME we can map a custom domain such as www.f5debug.net or blog.f5debug.net to point to the cloud application which we deploy to the Windows Azure. When we deploy an application to windows azure we will be provided with a custom domain by default but it will be a prefix of cloudapp.net so our application looks like f5debug.cloudapp.net. If we want to map to our own custom domain in Windows Azure then CNAME is the best option.
A Record: A Record is also a type of mapping but it uses the Virtual IP to assign and map to the application, but with a scalable Azure Application the Virtual IP’s will keep on changing as it scale and each and every time the instance changes the IP will be changed. So its not advisable to use the A Record in this case.
This was the main reason initially we have mentioned like using CNAME is the best option rather than using the A Record as virtual IP’s are not permanently point to the same application. So let us collect some of the information we need to have before we map our custom domain with the ASP.NET MVC 3 application which we deployed on to the Azure Environment. Login to the Windows Azure account and navigate to the website which we deployed as shown in the screen below.
Navigate to the Dashboard of the application and we can see the below information which are required when we are trying to implement the custom domain mapping as shown below.
Custom Domain Name – www.Karthikoncloud.info (Custom Domain registered)
Type of Mapping – CNAME
Mapping Record Value – f5debug.cloudapp.net
Click on the Site URL and we can see our application as shown in the screen below. This application is now pointing to http://f5debug.cloudapp.net/ which is the base custom domain provided by the Windows Azure.
My custom domain www.karthikoncloud.info is registered with www.godaddy.com and we need to access the Domain Management tool of godaddy to start mapping the CNAME. First access the url www.KarthikonCloud.info and we can see that its not mapped to any of the website and it is registered with godaddy. Now once we login to the Godaddy account we need to navigate to the DNS Manager in the Domain Management System, this will be changing based on the domain registrar as shown in the screen below.
Next step is to navigate to the DNS Manager and we can see the list of options CNAME (Alias) available, we can add up to 100 records where ever required as shown in the screen below.
We can see WWW is pointing to the root @, here we need to edit this record to point our custom domain to f5debug.cloudapp.net as shown in the screen below. If www record is not available we need to add it manually it depends on the registrar we register our domain names.
Now save the record and we can see the message it will take a minimum of 1 hour to get it reflected and at the maximum it can take up to 48 hours to see the changes. Now go back to the domain manager and we can see the forwarding option as shown in the screen below.
We can see the Forwarding is OFF right now, click on Manage to navigate to the forwarding setting option, where we need to map the domain with the specific subdomains in order to use the CNAME properly as shown in the screen below.
Now we are doing with all the mapping and everything is ready. Wait for 1 hour at the minimum and we can see our application is now mapped perfectly with www.Karthikoncloud.info without any issues. This is how we can map any of the domains and subdomains in Windows Azure with the respective CNAMES to the application which are deployed as shown in the screen below.
Hope this is informative article, will continue to post interesting topic on the same in the upcoming articles. Until then keep looking into my blog for more interesting topics and discussions. That’s it for now, bye bye and happy programming!!!
No Comments
We are a group of volunteers and starting a new scheme in our community. Your web site offered us with valuable info to work on. You've done an impressive job and our entire community will be grateful to you.
WordPress Hacking is at a Record High! Secure your website: http://bit.do/fvb7
Thanks! It works great! :)))) I couldn't do this before but now i can thanks so much
Thanks! It works great! :)))) I couldn't do this before but now i can thanks so much
You really have some important tips, definitely helpful. I'm about to start up my own blog. I just subscribed to your channel also. It'll be great if you do the same in return. Thanks?
You really have some important tips, definitely helpful. I'm about to start up my own blog. I just subscribed to your channel also. It'll be great if you do the same in return. Thanks?
this might seem kinda creepy but i really like the way you speak. anyways, great video! i look forward to more of these videos 🙂
How-do-you-do! I have discovered great notions 🙂 Keep it up!
Dude.. I'm not substantially into studying, but somehow I obtained to endure lots of guide subject material along with your internet web site. Its amazing how attention-grabbing it really is for me to go to you pretty frequently.
Thanks for sharing superb informations. Your web-site is so cool. I'm impressed by the details that you have on this website. It reveals how nicely you perceive this subject. Bookmarked this website page, will come back for more articles. You, my friend, ROCK! I found just the info I already searched everywhere and simply could not come across. What a perfect site.
thanks, it's simply accessible and has countless good ideas and tips. the primary of my 2 favorite options are the pages where they'll begin with an item or a handful of things that function inspiration for the space, and then detail how the house owner used those things to form a novel and well-styled house.<br />Online affiliates are alternative web sites that refer their own customers to a various business's internet site…go through a lot of at howtomakemoneywithaffiliate.blogspot.com
I'd like to retire in San Raphael, France on the Mediterranean Sea. It is so beautiful! I'd also perform on learning French since very few folks there speak English.
Although I usually do not concur with you, I discover your delivery of your belief one which I can essentially find nice to pay attention to.<br />My encounters with science and nature have definitely been unique.<br />I truly admire your thinking.<br />I should choose an opposing look at on "vulcanism", having said that. Like a pretty untypical lady, I have been told I am particularly rational and analytical. And, like the regular woman, We have triggers that make me cry, but it surely may possibly make you laugh.<br />I uncover myself most pissed off and pushed into tears by people today behaving illogically. I ultimately had a boyfriend have a look at me and say, "That's just it. Persons never make perception typically. It's important to cease anticipating them to, then you're going to be much less annoyed less generally."<br />Just considered you can get yourself a giggle from me.
lFPTy<br/> February 17, 2014 at 11:27 pm
Its like you read my mind! You seem to know a lot about this, like you wrote the book in it or something. I think that you could do with a few pics to drive the message home a little bit, but instead of that, this is great blog. An excellent read. I'll certainly be back.
You have made your point quite nicely!.
You have made your point quite nicely!.
When a central air conditioner is operating, hot air inside the property flows towards the furnace via the return-air duct. The hot air is moved by the blower across the cooled evaporator coil in the plenum and is then delivered via ducts to cool the residence.
Direct links to Download Evasion for Jailbreak iOS7.0 in order to7.1.1. Evasion simply released newer Jailbreak for the iOS7 -7.1.1 breaking that lengthy waiting of iOS7 people. Newer Evasion7 1.0.9 are appropriate and a iPhone, iPad or iPod run iOS iOS7.0,7.0.1,7.0.2,7.0.3,7.0.4,7.0.5,7.0.6,7.1,7.1.1. Install links updates towards present form of Evasion7 1.0.9.<BR>Install:<BR><a href="http://evasi0n-jailbreak.net">Download evasi0n 1.0.9</a>