I have domain on google domains and I want it to point to my Azure Web app.
I have followed the documentation of Microsoft and this topic and SO .
My actual configuration on Google Domains look like this:
Name server:
Use custom name servers
ns31.domaincontrol.com ns32.domaincontrol.com
Registered hosts:
hostname: mywebsite.com
ipv4: 40.122.xxx.xxx
ipv6:
Custom ressource records:
@ A 1h 40.122.xxx.xxx
@ TXT 1h "mywebsite.azurewebsites.net"
awverify CNAME 1h awverify.mywebsite.azurewebsites.net.
www CNAME 1h mywebsite.azurewebsites.net.
Then I try to add a new custom Domain name on my web app but when I try to "mywebsite.com" or "www.mywebsite.com" Azure can't know if I own the domain ...
We have waited more than 48hours and checked all the typo but didn't see any mistake.
Do we need to something more on Azure ? Did I missed something ?
Thank you for your answer
EDIT:
My current ressource records now look like this:
@ A 1h 40.122.xxx.xxx
@ TXT 1h "mywebsite.azurewebsites.net"
www CNAME 1h mywebsite.azurewebsites.net.
In this case, the following records are not correct. It will be like this.
@ TXT 1h mywebsite.azurewebsites.net
awverify.www TXT 1h mywebsite.azurewebsites.net
www CNAME 1h mywebsite.azurewebsites.net
The entry with the awverify
subdomain is used to "prove" to Azure that you own that domain when you migrate a live site and its DNS domain name to App Service that DNS name is already serving live traffic . If your custom domain has not been used for live traffic yet. You do not need to add such awverify
subdomains in the DNS zone, just remove it.
Moreover, the TXT record you need depends on the DNS record you want to migrate. For examples, see the following table (@ typically represents the root domain):
You can use dig web interface to check the DNS records propagation. Once the DNS propagation is established, you do not need the awverify
subdomains and remove them.
Get more details: Migrate an active DNS name to Azure App Service
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.