Azure not Providing ALIAS record after validating Custom domain and after CNAME has been successfully propagated on Domain provider.

Oluwaseun Deborah Adebayo 60 Reputation points
2026-07-02T11:08:52.8433333+00:00

CNAME

CNAME 4

CNAME 3

CNAME 2

Hello Fams,

I need help in getting past this stage,

I have created a static web app on my MCT Azure subscription, my custom domain has been added to a different M365 tenant, but I added the custom domain to my Azure using the "custom domain on other DNS" option, I added the CNAME record provided by Azure on my DNS provide, and the custom domain was validated on Azure, it's been over 72 hours, and Azure is yet to provide the ALIAS record to make me complete this configuration. I will appreciate help from the experts. Kind regards.

Azure Static Web Apps
Azure Static Web Apps

An Azure service that provides streamlined full-stack web app development.


Answer accepted by question author
Golla Venkata Pavani 7,535 Reputation points Microsoft External Staff Moderator
2026-07-02T20:58:53.1566667+00:00

Hi @Oluwaseun Deborah Adebayo

Thank you for providing an update.

You have correctly added the ALIAS record (@ > lemon-ocean-0ac6eb603.azurestaticapps.net). However, the domain is still showing a 404 because Azure has not yet fully validated the domain ownership and completed certificate binding.
Recommended Steps:

  1. Remove the existing custom domain in the Azure portal (under your Static Web App > Custom domains). This is safe.
  2. Re-add the custom domain:
    • Click + Add > Select Custom domain on other DNS provider.
    • Enter your domain (synexil.com).
    • In the validation step, select TXT as the hostname record type.
    • Click Generate code to get the verification value.
  3. Add TXT records for validation (as per Microsoft’s instructions for apex + subdomain):
  • Create a TXT record with host: _dnsauth.www and the value provided by Azure.
    • For the apex domain, Microsoft also recommends a separate validation path using the _dnsauth prefix (often @ or _dnsauth depending on exact prompt).
  1. Keep your routing records active:
    • Leave the ALIAS record for @ pointing to lemon-ocean-0ac6eb603.azurestaticapps.net.
    • Leave the CNAME for www pointing to the same hostname.
  2. Wait for propagation (DNS changes can take time, up to 72 hours in some cases, though validation is usually faster).

Once validation succeeds, Azure will automatically handle certificate issuance and binding. The 404 error typically occurs when the domain is not yet fully bound or the certificate is not provisioned.

Note on the extra TXT record: The SPF record (v0spf1 include:amazonses.com ~all) is unrelated to Static Web Apps hosting and can remain.

Reference:
https://learn.microsoft.com/en-us/azure/static-web-apps/custom-domain
https://learn.microsoft.com/en-us/azure/static-web-apps/apex-domain-external
https://learn.microsoft.com/en-us/azure/static-web-apps/custom-domain#zero-downtime-migration

Kindly let us know if the above helps or you need further assistance on this issue.

Please "accept" if the information helped you. This will help us and others in the community as well.

Was this answer helpful?

1 person found this answer helpful.
0 comments No comments

Answer accepted by question author
TP 163.5K Reputation points Volunteer Moderator
2026-07-02T15:42:23.95+00:00

Hi,

Please sign-in to your Namecheap account and add ALIAS record, as below:

Type: ALIAS Record

Host: @

Value: lemon-ocean-0ac6eb603.azurestaticapps.net

TTL: Automatic

User's image

After saving the new record, please wait 2-3 minutes and then test your site using web browser.

Please click Accept Answer and upvote if the above was helpful.

Thanks.

-TP

Was this answer helpful?

1 person found this answer helpful.

Answer accepted by question author
Aditya N 3,890 Reputation points Microsoft External Staff Moderator
2026-07-02T12:21:49.2833333+00:00

Hello @Oluwaseun Deborah Adebayo

Thank you for reaching out Microsoft Q&A. It looks like domain verification failed. In the provided screenshot comprises of your apex domain "synexil.com"

Please check below

  1. In the Azure Static Web App → Custom domains, re-open the validation step and make sure you have the exact TXT token Azure generated for your apex domain.
  2. Go to the place where the domain is truly authoritative
  3. Add the TXT record there:
    • Type: TXT
    • Host/Name: @
    • Value: the exact TXT code generated by Azure Static Web Apps
    • Save
  4. Return to the Azure portal → Static Web App → Custom domains and use Refresh/Retry validation (or delete/re-add the domain if needed).
  5. If DNS propagation is involved, give it time, but the key is: the TXT must be visible from the authoritative DNS.

If still didn't work then

  1. Create a DNS zone for your domain in Azure.
  2. Update your domain registrar's nameservers to point to Azure DNS nameservers.
  3. In Azure Static Web Apps → Custom domains, add the domain using Azure DNS option

Was this answer helpful?

1 person found this answer helpful.
0 comments No comments

0 additional answers

Sort by: Newest

Your answer

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