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

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

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.

IIS binding migration azure

We are trying to migrate our ASP.NET web apps to an Azure VM. We have about 5 apps under our website, but we need to do these one by one. The problem is when we migrate one app to an Azure VM IIS, we need to maintain the URL and not disturb the 4 remaining web apps. Below is an image better explaining what I need to do:
See Image
Notice I need to maintain the original URL (https://www.site1.com/App1-1) when moved to the Azure VM. We had thought about doing a reverse proxy for that one app, but I think that would put too much extra traffic going back and forth.
I know this is probably not the best way of migrating things to Azure. Refactoring the app is slated for the future. This is a "lift and shift" interim solution. Any suggestions or tips would be greatly appreciated!
You can do something like:
Migrated the app to Azure VM and test it first to confirm it working
Configure the custom DNS entry to point to the app in Azure. You can read more here
https://learn.microsoft.com/en-in/azure/dns/dns-domain-delegation
Switch off the app from the local server once DNS entry in Azure is active.
Migrate other apps

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

How to host a .com or a .net website in Windows 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

Hosting a Blog and App on a single Azure Web Site?

I like the idea of using Azure to host a Wordpress Blog.
I currently have an Azure Website that I'd like to add a blog to. Ideally I can create another website for the blog, and then have blog.mysite.com always show the contents of myblog.azurewebsites.net. Would this be possible?
I can have my domain registrar forward/mask from blog.mysite.com, but if there's a way to do it without masking, any info on getting that done would be awesome.
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 Standard 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/

Resources