Hello @Jesse Stewart (he/him) ,
Welcome to Microsoft Q&A Platform. Thank you for reaching out & hope you are doing well.
The tutorial that you are following is correct but the steps should be in the below order:
- Map the temporary afdverify subdomain
- Map the permanent custom domain
- Associate the custom domain with your Front Door
- Verify the custom domain
So the actual steps are as follows:
- First map your custom domain to your Front Door default frontend host with the Azure afdverify subdomain to create a temporary CNAME mapping (afdverify.www.contoso.com CNAME afdverify.contoso-frontend.azurefd.net). --> This is already done by you.
- After you've verified that the afdverify subdomain has been successfully mapped to your Front Door, you can then map the custom domain directly to your default Front Door frontend host. To do that, create a CNAME for your custom domain (<www.contoso.com> CNAME contoso-frontend.azurefd.net) and then delete the previously created a temporary afdverify subdomain CNAME record.
- Now, you can go to Azure portal and perform the below:
On the Front Door designer page, select '+' to add a custom domain.
For Frontend host, the frontend host to use as the destination domain of your CNAME record is pre-filled and is derived from your Front Door: <default hostname>.azurefd.net. It cannot be changed.
For Custom hostname, enter your custom domain, including the subdomain, to use as the source domain of your CNAME record. For example, www.contoso.com or cdn.contoso.com. Don't use the afdverify subdomain name.
Select Add.
After you've completed the registration of your custom domain, verify that the custom domain references your default Front Door frontend host.
Kindly let us know if the above helps or you need further assistance on this issue.
----------------------------------------------------------------------------------------------------------------
Please "Accept the answer" if the information helped you. This will help us and others in the community as well.