How do I create a Sub-domain and Sub-folder in Azure? - azure

I have a bitnami wordpress in Azure.
I want to create a sub domain like subdomain.example.com.
I will install a new wordpress on this subdomain.
I want it on the same server.
I redirected my domain from Go Daddy to Azure. I have DNS Zone registration for example.com.
How is created subdomain in azure portal?
How can I creat folder for subdomain.example.com the same server?
(Note: Bitnami wordpress stack is available in server)

I'm assuming you're using App Service to host your sites. When you create your first Web Site, you must create an App Service plan. This plan can host multiple Web Sites so when you create your Web Sites, you simply need to select the previously created App Service plan. For each new Web Site, you must edit the DNS entries in GoDaddy and set the correct subdomain in the Web Site settings like you did for the first site.

Related

Map subfolder of domain to azure app servive

We have our primary website www.domain.com hosted on GoDaddy and its a WordPress website. We have now created a web app (MEAN stack app) and hosted it on azure app service. Its URL is appname.azurewebsites.net.
We would like the azure app service to be domain.com/app. Is it possible for me to map domain.com/app (a subfolder of our primary domain on GoDaddy) to the web app on azure app service.
After doing so; it should be like domain.com would load our WordPress website from GoDaddy and domain.com/app loads our web app from azure app service.
How do I accomplish this? Do I need to do some clever DNS settings?
Thanks in advance.
The /app is part of the path, not the domain, so DNS has nothing to do here. What you could do, is put something like Azure Front Door (AFD) in front. You domain.com will be linked to that Front Door.
In AFD you can then define two backends, one for your main website and one for your App Service
Then you create two routing rules:
Your main website, with path /*
You web app with path /app/*

Aure app Service with custom domain DNS configuration

I currently have a domain registered at Ionos with a web hosting package (email, .net hosting).
I plan to move the hosting to Azure App Service. I would like to continue using the email from Ionos and to continue to handle the domain from Ionos. So I only want my domain to target my Azure App Service instead of the Ionos hosting.
In my Azure App Servce, I added my custom domain by adding the following lines in my DNS (managed in Ionos) :
Name, Type, Value
www, CNAM, myapp.azurewebsite.com
asuid.www, TXT, my verification id
It looks like this is the only thing to configure. However, my Azure app is still not in used. I tried to stop my App Service, the website is still responding. I tried to remove the folder on my Ionos hosting folder and it stop working. So it looks like the DNS of my website still target Ionos host instead of Azure App Service.
Am I missing something?
Thank you very much for your help! :)
Dorian
The issue was from the Ionos portail to configure the DNS.
In my case I had to do the following :
Redirect my naked domain to the www subdomain through the Ionos redirection feature
Crete the new DNS entry (CNAME and TXT) to link my www subdmain to my new host
Regenerate a new SSL certificate (due to an error on Ionos side)
The Ionos portal is often not up to date, and sometimes it just displays wrong information.
You can refer to this video tutorial to learn.
How to Transfer a Domain Name to Azure
More details can refer to this article, Tutorial: Map an existing custom DNS name to Azure App Service.

Azure WebApp Deleted and Domain is not accessable

Unfortunately I deleted my WebApp, A domain which was purchased through azure portal by following these steps
https://azure.microsoft.com/en-us/documentation/articles/custom-dns-web-site-buydomains-web-app/
Was attached with this webapp. Now that I don't have any access to domain's DNS, If I visit my domain it says
This page is parked free, courtesy of Azure
How I can get my domain back to me.
You haven't lost your domain, so there's no getting it back to you. The issue is that you deleted your web app, so Azure is providing a default landing page for your now-unused domain name.
If you create a new web app, and want to assign your domain name to it, you should be able to in the Custom Domains and SSL blade for that web app's configuration.
For example, here's the settings for one of my web apps. I'd see my purchased domain names under Managed Domains.

Create blog's subdomain for ASP.NET & Wordpress

G'day
I have web page www.mypage.com which is written on ASP.NET, domain name bought from godaddy and hosted at Microsoft Azure.
I want to create blog hosted at Azure, using wordpress, which opens as blog.mypage.com or mypage.com/blog.
Should I configure that at azure? or mypage project? or godaddy?
Thanks
Setup a CNAME of blog.mypage.com on godaddy (or whoever your DNS hosting is provided by) to point to the Azure (websites, I presume?) address.
Alternatively you can have your blog as a Virtual Application and you would not need to pay for extra site if you have blog sitting in www.mysite.com/blog.
See this answer on how to configure virtual application:

How to add more web apps to existing windows azure web site

I created a new web site on Windows Azure and chose WordPress from the Gallery to start the site. This is my company's website with my domain name. Now I want to add another web app from the gallery, let's say OpenX, on the same site so that it is running on the same domain. Does anyone know how to add another web app to an existing Azure website?
Create new web site. Each web site can use different subdomains.
Your original page can be www.domain.com for example, and the new one can be something.domain.com.
You just need to register the name server entry for each subdomain as you did for the original domain.
Yes you can create virtual directories. At the bottom of the Configure tab, there's a Virtual Applications and Directories section. Just create a new directory and check the Application checkbox.

Resources