Unable to verify custom domain

Paul Flaherty 1 Reputation point Microsoft Employee
2022-04-26T14:35:47.533+00:00

Hi,

I have a custom domain that is managed in Azure DNS that I switched from GoDaddy. I have double checked the nameservers are correct.

I am trying to assign this to a static web app that I built using Hugo (white-sky-08d603103.1.azurestaticapps.net) but it just won't verify.

I have assigned a TXT record and it failed to verify and advised to try again. I have tried it again and I am still unable to verify.

Adding a CNAME without the TXT gives the error below

"The custom domain request triggered a risky domain check. Please contact support for assistance for this request."

The domain is www.pfazure.com

The TXT record is here (it is in verify stage again as I restarted it for the 3rd time

196646-image.png

The DNS records are set up in Azure DNS zone below with the generated value for the TXT record

196598-image.png

For some reason it simply won't verify the domain and I cannot work out why I was hoping someone might be able to take a look.

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,960 questions
Azure Static Web Apps
Azure Static Web Apps
An Azure service that provides streamlined full-stack web app development.
1,178 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Takahito Iwasa 4,851 Reputation points MVP Volunteer Moderator
    2022-04-26T22:10:46.663+00:00

    Hi, @Paul Flaherty

    The following App Service documentation advises you to use asuid.sabudomain when pre-validating your TXT record.

    https://learn.microsoft.com/en-us/azure/app-service/app-service-web-tutorial-custom-domain?tabs=a%2Cazurecli

    You are trying to create a TXT record for @.pfazure.com.

    If you want to verify www.pfazure.com, I think the TXT record should use asuid.www.pfazure.com.

    If you want to validate pfazure.com (root domain), use asuid.pfazure.com for your TXT record.

    If I don't understand your requirements please let me know additional information. I will help you.

    0 comments No comments

  2. Ryan Hill 30,281 Reputation points Microsoft Employee Moderator
    2022-04-28T02:55:58.047+00:00

    Hi @Paul Flaherty , transferring domains into Azure is currently not supported. Your domain may be in a broken state. Let's continue offline via the private comment below.

    ---
    EDIT: 2022 Apr 28

    Upon further investigation, your domain request being stuck in validation is due to azure being a substring in your domain request. Domains on Azure are issued through Digicert and they can provide more insight to see if your domain can be whitelisted or not.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.