We have a 404 web site not found prompt and we cannot figure out how to fix it.

JDD 0 Reputation points
2026-11-17T15:50:43.6966667+00:00

404 Web Site not found.

You may be seeing this error due to one of the reasons listed below :

  • Custom domain has not been configured inside Azure. See how to map an existing domain to resolve this.
  • Client cache is still pointing the domain to old IP address. Clear the cache by running the command ipconfig/flushdns.

Checkout App Service Domain FAQ for more questions.

The website is hosted by Azure. We have Web App set up. IONOS is domain provider. DNS has been updated with A and TXT records with proper values from Azure. We have limited experience with this type of work and are stuck. Unsure of the issue. Any help is appreciated.

Azure App Service
Azure App Service

Azure App Service is a service used to create and deploy scalable, mission-critical web apps.

0 comments No comments

1 answer

Sort by: Most helpful
  1. AI answer

    2026-11-17T15:51:28.3166667+00:00

    Add the exact hostname to Azure Portal → App Service → Settings → Custom domains and complete Validate → Add; an Azure “404 Web Site not found” means DNS is reaching Azure, but App Service does not have an active binding for that hostname.^1^

    Complete the custom-domain binding

    1. First open the app’s default address, such as yourapp.azurewebsites.net.
      • If it displays the website, the app is running; continue below.
      • If it does not, resolve the Web App problem before troubleshooting the custom domain.
    2. In the Azure portal, open: App Services → your Web App → Settings → Custom domains → Add custom domain.
    3. Select All other domain services because IONOS hosts the DNS.
    4. Enter the precise hostname being tested:
      • Root/apex: example.com
      • Subdomain: www.example.com
      These are separate hostnames. If both must work, add and validate each one separately.
    5. Compare the values shown under Domain validation with the records in IONOS. Do not reuse values from another app or an earlier configuration.^2^ For the root domain (example.com):
      IONOS record Host/name Value
      A @ The App Service IP displayed by Azure
      TXT asuid The Custom Domain Verification ID displayed by Azure
      For www.example.com—recommended configuration:
      IONOS record Host/name Value
      CNAME www The app’s default hostname, such as yourapp.azurewebsites.net
      TXT asuid.www The Custom Domain Verification ID displayed by Azure
      Do not configure both an A and CNAME record for the same hostname because that creates a DNS conflict.^3^
    6. Return to the Add custom domain dialog and select Validate.
      • Both DNS checks should show green check marks.
      • Select Add; validation alone does not finish the hostname mapping.
      • Confirm the hostname now appears in the Custom domains list as successfully added or active.^2^
    7. Test both HTTP and HTTPS. If an App Service Managed Certificate was selected, certificate creation can take several minutes after the domain is added.

    If validation does not succeed

    Check the public DNS response rather than only the records displayed in the IONOS control panel:

    nslookup example.com
    nslookup -type=TXT asuid.example.com
    nslookup www.example.com
    nslookup -type=TXT asuid.www.example.com
    

    The A or CNAME result must match the value shown by the Web App, and the TXT result must contain its current verification ID. DNS propagation can take up to 48 hours, depending on the previous TTL and provider.^1^

    If DNS is correct but Azure still cannot add the hostname:

    • Confirm the App Service plan is a paid tier; the Free tier does not support custom domains.
    • Confirm the account has Owner, Contributor, or Website Contributor access.
    • Check that the hostname is not attached to another App Service, Static Web App, or Front Door resource.
    • Run App Service → Diagnose and solve problems → SSL and Domains → Run All Certificates & Domains Checks.^1^

    References

    1. Troubleshoot custom domain issues in Azure App Service for web apps on Windows and Linux
    2. Set up an existing custom domain in Azure App Service
    3. Troubleshoot domain and TLS/SSL certificate problems in Azure App Service
    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

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.