Domain forwarding from Google Domain to Azure Web App Service not masking URL - azure

I have an Azure hosted React website running on a Web App Service. Let's call it mywebsite.azurewebsites.net
I have now purchased the domain name through Google Domains. Let's call it www.mywebsite.com.
The redirect is working fine. I type in www.mywebsite.com and I can see my website. However in the URL bar I can still see the address mywebsite.azurewebsites.net. I clearly want to see my new domain name. Can anyone provide any insight as to why this is?

You need to map an existing custom DNS name to Azure App Service.
See more: Azure Tutorial

Related

How do I map a URL to a uksouth.cloudapp.azure.com website

I have a website running on Azure: -
e.g. mysite.uksouth.cloudapp.azure.com
I have purchased a domain e.g. www.mysite.co.uk
When I go to https://www.mysite.co.uk I want to display the website mysite.uksouth.cloudapp.azure.com.
I've tried adding an app service in azure, but it gives me the URL https://mysite.azurewebsites.net.
So https://www.mysite.co.uk now brings up a Azure welcome screen asking me to deploy my code.
How do I get https://mysite.co.uk to display https://mysite.uksouth.cloudapp.azure.com?
Thanks.
Ian.
I found this https://learn.microsoft.com/en-us/azure/cloud-services/cloud-services-custom-domain-name-portal#add-a-cname-record-for-your-custom-domain
So I deleted my App Service in Azure, as that's not what I needed and followed the above instructions to configure the DNS for cloudapp.
You have to map your custom domain name to the web app. Below is the Microsoft doc with the steps.
Custom Domain

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 domain configuration

I have an APP that was awarded the gorunning.pt domain. It happens that when I call the gorunning.pt domain without the www everything works, when I add the www http://www.gorunning.pt/ I receive the page 404 application not found.
I've already set the DNS CNAME for the application of IP , also tried the url gorunning.azurewebsites.net defined by Azure , created a type A registration.
This is expected. Your DNS configuration is correct. However the Azure Web App's front-end doesn't recognize the www sub-domain as it is not mapped in the portal.
You will also have to map the www.gorunning.pt to your web app gorunning.azurewebsites.net in the Azure Portal. :)
From the dig web interface, it seems the domain has mapped to the Azure web app. However it shows 404 not found. As I know your custom domain maps to an empty web site, so the easiest way is deleting your existed web site then custom domain to the new web site again. If you still encounter the same issue, please submit a ticket via the following screenshot.

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.

Azure Traffic Manager routing to Azure Website configured as External Endpoint

Here's what I did,
Created an Azure Website (http://myapp1.azurewebsites.net) in Standard tier
Configured Azure Traffic Manager and added endpoint as an Azure endpoint. Trafficmanager routes to the website. Nice!
Removed the endpoint and and added endpoint as an External endpoint. Trafficmanager routes to a 404 page. I provided the FQDN (Fully Qualified domain name) as myapp1.azurewebsites.net.
What is wrong with it? Doesn't Azure allow to have .azurewebsites.net sites to define as endpoint urls?
Endpoint details,
Status - Enabled
Monitor Status - Degraded
Type - External Endpoint
Complete error page details,
Error 404 - Web app not found.
The web app you have attempted to reach is not available in this Microsoft Azure App Service region. This could be due to one of several reasons:
1. The web app owner has registered a custom domain to point to the Microsoft Azure App Service, but has not yet configured Azure to recognize it. Click here to read more.
2. The web app owner has moved the web app to a different region, but the DNS cache is still directing to the old IP Address that was used in the previous region. Click here to read more.
When using a web site, the web site needs to know what domain name to expect in the 'host' header of the DNS request. This is the domain name the user types into their browser.
When you add a web site as an endpoint in Traffic Manager, the Traffic Manager domain name (e.g. mysite.trafficmanager.net) is automatically added as a custom domain name in your web site. And when you remove the web site endpoint, it is removed once again.
However, if you use the external endpoint type, this does not happen. Because the web site does not recognize the domain name in the host header, a 404 error is returned.
To make this work, you will need to put a vanity domain name in front of Traffic Manager using a CNAME, register the vanity domain name in your web site, and use the vanity domain name from your browser. (You cannot manually add the Traffic Manager domain name to the web site since you cannot complete the proof-of-ownership validation which web sites demand.)
External endpoint needs to be outside Azure website.

Resources