Validating Sub-domain

Anthony Benjamin-WR-server 1 Reputation point
2022-01-27T22:09:26.507+00:00

Hello, I am attempting to add a pre-owned custom domain to my web app service. THe custom domain is actually a sub-domain and is blog.wellrabbit.com. When I attempt to validate the domain or to update my dns records from my domain provider, I am still forwarded to a 404 page and the domain never validates.

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,935 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. brtrach-MSFT 17,731 Reputation points Microsoft Employee Moderator
    2022-01-28T04:49:24.267+00:00

    @Anthony Benjamin-WR-server We are sorry to hear that you are encountering 404 errors when trying to add your custom sub-domain to your web app.

    Can you please provide us with context as to how you are validating your sub-domain? Are you using an A record, CNAME, and how are you entering the domain name into Azure?

    Please note that it can take up to 30+ minutes for the DNS propagation to take effect. For this reason, we do not recommend performing the switch during business hours to minimize customer impact. Can you verify that you waited the appropriate amount of time?

    Please note that we recommend using CNAME records for domain validation. Please see the below settings to ensure you were putting in the correct items into your DNS.

    Step 1: Add a CNAME record type to your DNS with a host setting of blog and a value of <app-name>.azurewebsites.net
    Steps 2: Add a TXT record type to your DNS with a host setting of asuid.blog and a value of the verification ID you got from the custom domains blade of your web app in the Azure portal. This step is very important as adding the verification ID helps to prevent a security issue called dangling DNS.

    For more information on this, please see here:

    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.