How to host a .com or a .net website in Windows Azure? - azure

I am new to Windows Azure, and from what I have read online it appears that any website hosted in Windows Azure needs to be a .azurewebsites.net website. So, if I had a website www.mysite.com hosted elsewhere, then it seems I cannot host this same site in Windows Azure, since I would have to use mysite.azurewebsites.net as the website url.
Question: Is above fact true? I could not find any documentation or any online article on this.

You can certainly host your own domain using Azure, as detailed in this support article (which links to a walk-through).
You can bind your domain to a website or cloud service, just I believe this is only something available in a paid tier. (Follow-up: Using a domain is only available in Shared, Basic or Standard mode.)

No, this is not true. You can have other domains, but in the background it will always has a .azurewebsites.net. See my blog as an example: http://www.buzzfrog.se. (This is only an example of the hosting.)
Here is an article how to do it: https://azure.microsoft.com/documentation/articles/web-sites-custom-domain-name/
/dag

Related

How to use same custom domain for Web app hosted on Azure and web application hosted on window's IIS server?

I have a application which is hosted in IIS on window server and application URL is "www.hire.com/jobborad". Now i am going to add new feature(sub application) for example "Candidate Hub" so
I am planning to created separate code-base and host that application in Azure as Web App but i want to use the same parent domain of my original application. my sub application's URL will be a "www.hire.com/CandidateHub".
Is there any way that even if my application hosted in differently environment, I will be able to use same domain?If yes then could you please recommend me any tutorial, blog or any thing which help me to resolve my problem.
I search a lot on google but nothing find useful.
Thanks in-advance for help.
Note : Mentioned URLs are just for example. Those are not exist.
this is usually done with the URL Rewrite Module in IIS.
Don't be surprised that the docs are quite old. They are still valid for latest Win Server and IIS.
for external routing you also may need the ARR feature which should be downloaded via the Web Platform Installer.

setup azure server for outside access

How do you deploy a website in Windows Azure so that it can have outside access? I'm not that familiar with it and I have no idea where to start.
All the info I have is that I have a cloudapp.net website. I can access my remote desktop through .cloudapp.net. And I have an IIS Manager.
This all sounds stupid, but I need to start somewhere. And I need help. Thanks.
EDIT: More info. From my extensive search, I found that endpoints might do the trick. I want the website to be accessed through a port (sample.cloudapp.net:1010). I did some tinkering on it but I couldn't make it work.
If you already have a cloudapp.net website, it means that you have a cloud service for your website. You could take a simpler approach and set up a Web App instead, which would give you an azurewebsites.net domain. Either way, the full domain name will be a public URL for your website available at port 80.
If you prefer to stick with a cloud service, check out the official documentation:
https://azure.microsoft.com/en-us/services/cloud-services/
If you opt for a simpler Web App (my recommendation for beginners), the following URL contains links to documentation and a short video to get started with Web Apps:
https://azure.microsoft.com/en-us/services/app-service/web/
Web Apps can be deployed in multiple ways, including Visual Studio, FTP or Continous Integration directly from source control. If you need help with deploying the web app, I have a step by step guide and video tutorial:
http://wakeupandcode.com/deploy-your-web-site-web-app-on-azure/
Hope that helps! :)

Can I have an azure website be a virtual in the same domain as my azure cloud service

Hope I explain this clearly enough. I am migrating a web application to azure. I have it setup so far as an aspx web application and a sql server database. The site is hosted (don't know if that's the correct term) in a cloud service (which I deployed using Visual Studio). Everything works great so far. What I want to do now is add a WP blog. I have created on as a test and it's really easy as an azure website.
What I want to do is this: If my custom domain is www.site.com and that points to the cloud service web role, can I create a WP blog as a separate azure website at myblog.azurewebsites.net and somehow point a virtual at that so that www.site.com/blog will point to the blog website? I know how to add a domain to the website, just not sure how to do the virtual part...
Thanks for any suggestions!
-Jeff
As far as I know, NO, unless you can modify the BLOG's code to keep rewriting URL's to make it look like www.site.com/blog
Simpler alternative: implement a blog.site.com instead of www.site.com/blog and map it to your blog on Azure sites. You can also setup a redirect to work from www.site/com/blog to go to blog.site.com

Windows Azure + SQL - Hobbyist website

I was wondering whether or not Windows Azure is a viable option, now that they offer 10 free websites, for hosting a simple website with a database and domain name etc.. or is more traditional web hosting still the better option?
The database won't be that big, so the $5 for the 100MB database option will be plenty. I guess a few dollar's would be needed for traffic too?
Custom domain names can only be used in Shared or Reserved modes which are not free.
The free websites would be under [yourSubdomain].azurewebsites.net
So, it depends whether having your own domain matters to you and, if so, whether you are willing to pay for the website.
Notwithstanding this, Azure websites is a perfectly good cloud solution offering quick deployment of numerous CMS systems including WordPress, Joomla, etc.
I think it is a viable option. However, to get your own domain name you must change the website from free to shared or reserved mode. Heres description and link how to do this!
"When you create a web site, Windows Azure provides a friendly
subdomain on the azurewebsites.net domain so your users can access
your web site using a URL like http://.azurewebsites.net.
However, if you configure your web sites for shared or reserved mode,
you can map your web site to your own domain name."
http://www.windowsazure.com/en-us/develop/net/common-tasks/custom-dns-web-site/

Map custom domain (and wildcard sub-domains) to Azure Website

I've looked at all related posts in MSDN and stack overflow but still having difficulty finding a solution.
I am looking to map a domain and all sub-domains to my windows azure website. It is a reserved website instance. I am using Amazon Route 53 DNS manager and have mapped a wildcard CNAME to my azure sub domain, and created a redirect on the naked domain to the www. subdomain.
When I navigate to the naked root, the redirect kicks in and I'm brought to www..com, where I receive a 404 error from azure.
I know the wildcard CNAME is working. I've verified using MXToolbox. If I go to "Manage Domains" in the Azure web UI admin system, I can manually add "www..com" or any other subdomain (e.g. "helloworld..com"). Azure verifies it fine and after saving, I can pull up the website fine by navigating to that subdomain and my azure website loads.
Is there any way to add wild card subdomains without having to verify each one manually through the azure ui interface? My application is a SaaS that relies on custom user sub-domains to serve up their branded website and gain access to their account so I need any and all subdomains to map to my application.
Currently, wildcard domains are not supported as far as I know. At least on Windows Azure Web Sites. They are on the roadmap, but currently you'll have to rely on adding every domain manually.
See wildcard comment on "Configuring a custom domain name for a Windows Azure web site".
Another feature not yet available on Azure Web Sites is SSL using a vanity (your own) domain name. If you want full control of your site(s) you can use Azure Cloud Services instead of Web Sites. With Cloud Services you can provision certificates, domain names, and run multiple sites on the same instances using host header routing.
Anything you can do with IIS Management you can do with a cloud service.
You're a little closer to the metal compared to Azure Web Sites (but not as close as with a VM) and you get load balancing, scaling, caching, and other goodness. Visual Studio 2010/2012 has excellent deployment tooling. You will need to study up on Azure deployment projects from VS, bit it's not bad.

Resources