none
Azure Website Custom domain

    Question

  • I have a new Azure WebSite in Reserved mode.  I can't seem to set a custom domain for the site. 

    When I try to add a site url to the Hostnames section, it always fails with the following error:

    There was an error processing your request. Please try again in a few moments.

    Browser: 5.0 (compatible; MSIE 10.0; Windows NT 6.2; WOW64; Trident/6.0; .NET4.0E; .NET4.0C; .NET CLR 3.5.30729; .NET CLR 2.0.50727; .NET CLR 3.0.30729; InfoPath.3; Zune 4.7)

    User language: en-US

    Portal Version: 6.0.6002.18488 (rd_auxportal_stable.120605-1747)

    Is there something else I need to do to enable this?

    Friday, June 08, 2012 4:27 PM

All replies

  • Hello,

    For security reasons, when configuring a custom domain, we verify that the domain is pointed at the Web Sites environment.

    Can you verify that your domain is pointed at your Azure Web Site before trying to make the switch?

    Thanks!

    Ryan

    Friday, June 08, 2012 5:32 PM
    Owner
  • I'm having the same issue. What do you been by pointing your domain "at your Azure Web Site"?

    Are we supposed to create a CNAME to our azurewebsites.net subdomain? Are we supposed to point an A record at a particular IP?

    I can't find this anywhere in the documentation and I'd really like to play with this feature. Thanks.

    Saturday, June 09, 2012 12:11 AM
  • In case anyone else checks this, I got curious and tried just pointing my domain to my azurewebsites.net subdomain and that did the trick.

    It would be really nice if this was documented somewhere and especially if it told you this when it failed instead of a generic web service error.

    If someone from the Azure team can confirm this is the right approach, I'd appreciate it.

    • Proposed as answer by jclermont Saturday, June 09, 2012 3:19 AM
    Saturday, June 09, 2012 12:53 AM
  • Hello,

     Yes this is the right approach, we will make sure documentation makes sense.

    Thanks for trying reserved instance!

     Nir (Azure team)


    WER Services Program Manager

    Saturday, June 09, 2012 3:17 AM
    Moderator
  • Hi,

    I added a CNAME for bt-blog.azurewebsites.net as blog.btsystems.com.au and when i attempt to go there i get an access is denied error? I know the CNAME is correct though. Is there any reason why this isnt functioning???

    --Brendan

    Saturday, June 09, 2012 6:56 AM
  • Hello Azure Website Team,

    Promising product!

    After reading this post I successfully managed to add a custom subdomain.

    http://blog.alexbogdan.ro/ is a cname to http://alexbogdan.azurewebsites.net/wp-admin/.

    How do I add a custom root domain? I want to access my Azure Web Site blog via http://alexbogdan.ro

    We all know that we cannot create CNAMES for the root domain - clearly stated in the RFC of CNAME.

    Please advise what is the proper procedure. Please don't instruct to create a redirect from http://alexbogdan.ro to http://blog.alexbogdan.ro :)

    Alex Bogdan
    TE @ MSFT RO - you can find me on GAL for more details


    • Edited by Alex Bogdan Saturday, June 09, 2012 11:26 AM
    Saturday, June 09, 2012 11:12 AM
  • Creating a CNAME isn't enough. Did you also change your Web Site from Shared to Reserved mode and then add the hostnames there?

    Also, DNS can take a little time to propagate, so even if you did the above, sometimes you have to wait a little bit for the CNAME to go live.

    Saturday, June 09, 2012 1:04 PM
  • I can't comment whether or not the RFC approves of it or not, but I did create a CNAME on my root domain and it worked just fine with Azure Web Sites.


    Saturday, June 09, 2012 1:06 PM
  • i don't understand why i have to change the website in Reserved mode to work with custom domains. Could someone give me an explanation?
    Saturday, June 09, 2012 2:00 PM
  • Hi Marco,

    We've intentionally built the product this way.  Free shared sites are designed for dev/test/evaluation usage, where a subdomain works fine.

    At this time, there are no plans to support custom domains on free shared instances.

    Thanks!

    Ryan

    Saturday, June 09, 2012 3:45 PM
    Owner
  • Hello Azure Website Team,

    Promising product!

    After reading this post I successfully managed to add a custom subdomain.

    http://www.alexbogdan.ro is a cname to http://alexbogdan.azurewebsites.net

    How do I add a custom root domain? I want to access my Azure Web Site blog via http://alexbogdan.ro

    We all know that we cannot create CNAMES for the root domain - clearly stated in the RFC of CNAME.

    Please advise what is the proper procedure. Please don't instruct to create a redirect from http://alexbogdan.ro to http://www.alexbogdan.ro :)

    Alex Bogdan
    TE @ MSFT RO - you can find me on GAL for more details

    Saturday, June 09, 2012 4:51 PM
  • This is more a dns issue.  The high order solution would be if web sites offered an optional fixed IP for web sites. Then you could just setup an A record.  ms could even share a fixed IP and internally switch it to the correct iis site using internal vtable.  Would require some backend work.
    Monday, June 11, 2012 6:57 AM
  • Ryan, hi!

    Could you comment on this? https://twitter.com/scottgu/status/210972290719031298

    Tuesday, June 12, 2012 6:00 AM
  • I find it a little bit silly not to offer custom domains on the shared version, and to only offer it on the reserved version!
    Tuesday, June 12, 2012 6:51 AM
  • Alex,
    I believe you are talking about limitation to create CNAME for alexbogdan.ro, but you create it for blog.alexbogdan.ro or www.alexbogdan.ro.

    for alexbogdan.ro you can redirect URL (URL forwarding) to www.alexbogdan.ro.

    http://www.mydomain.com/domains/tools.bml they have this service for free.


    Tuesday, June 12, 2012 7:07 AM
  • Hi Marco,

    We've intentionally built the product this way.  Free shared sites are designed for dev/test/evaluation usage, where a subdomain works fine.

    At this time, there are no plans to support custom domains on free shared instances.

    Thanks!

    Ryan

    ScottGu stated that custom domains are coming to the shared space... is he leading people astray?

    "We are going to be adding a way to enable custom domains to shared sites too - for current preview it requires reserved"  -- https://twitter.com/scottgu/status/210972290719031298

    Thursday, June 14, 2012 6:55 PM
  • Hi T3KK,

    Of course not :)  

    Shared != free shared.

    I can't really say much more than this.

    Thanks!

    Ryan

    Thursday, June 14, 2012 7:02 PM
    Owner
  • @Ryan

    I have not heard anything about there custom domain being related to any non-free shared provision.

    Can you elaborate on this?

    Friday, June 15, 2012 11:42 AM
  • It was mentioned by Bill Staples(?) that custom domains will come to Shared sites "for a fee".

    I'm hoping it's significantly less than AppHarbor's $10/month, as I've quite a few tiny sites, and it's crazy to pay $10/mo for them with so few visitors :-(

    Friday, June 15, 2012 9:28 PM
  • Yes I too am hoping that "custom domains will come to Shared sites "for a fee"." as, like many, I have numerous smaller sites and would like to keep all my sites (small and large) within one (Azure being my choice) environment.
    Thursday, August 16, 2012 10:09 AM
  • An alternative to Websites that I have recently been using are Web-Services - Allows Domains, not as expensive  for extra-small VMs as websites are - gives more flexibility and altogether a far better option.

    Digital Forensic Software Developer
    CCS LABS Digital Forensic Software
    Mark as Answer or Vote up if useful thank you!

    Sunday, August 19, 2012 9:09 PM
  • Ok.. after little bit of research and few phone calls to my Domain registrar support line I could make it work, wanted to share with you all facing issues with domain names and azurewebsites hosting

    this is a 3 step process

    Step 1) Log on to your domain registrar control panel > Create a CName record "www.yourdomainname.com" and point it to yourwebsite.azurewebsites.net.

    this generally is quick but for some registrars it may take upto 24 hours to propagate, be patient, I recommend you check the propagation using external tools like http://www.digwebinterface.com, put "www.yourdomainname.com" in the hostnames box, select CName from the drop down list and select resolver radio button and click dig, if the propagation is complete it should show you something like

    www.yourdomainname.com.		21600	IN	CNAME	yourwebsite.azurewebsites.net.

    Step 2) Login to your Azure Management portal and Navigate to websites > click on the website that you are configuring > click on Scale link on the right hand side of the page > ensure that mode is not free, a Shared or a reserved mode will work

    Step 3) Click on the configure link (next to scale link) and click on manage domain button (only appears if the site is in shared or reserved mode), enter your domain name as "www.yourdomainname.com" it will check if the CNAME record is propagated, so perform this step only after Step 1 is completely done. 

    if all steps complete successfully you are all set, generally it takes about 20-30 mins when you can use www.yourdomainname.com and start running your website.

    Please select propose as answer if this works for you


    Vishal Narayan Saxena http://twitter.com/vishalsaxena

    btw: here is a nice post explaining exactly what i wrote, with pictures.

    http://www.windowsazure.com/en-us/develop/net/common-tasks/custom-dns-web-site/#bkmk_setcname

    • Proposed as answer by vishalishereMVP Thursday, April 18, 2013 5:34 PM
    • Edited by vishalishereMVP Thursday, April 18, 2013 6:05 PM found related post
    Thursday, April 18, 2013 5:34 PM