My App Service Domain Name Does Not Work

Gwan Lie 20 Reputation points

Let my app name be MyApp. When I invoke my app directly by typing "", it works.

However, when I use my app service domain, e.g.,, it does not work.

In the DNS record for the above service domain, was assigned to the CNAME. But when I invoke my app using the service domain name, ie, by typing "", it fails with the following message:

404 Web Site not found. ... Custom domain has not been configured inside Azure ... Clear the cache by running the command ipconfig/flushdns.

I already ran ipconfig/flushdns I successfully_. And_ I already assigned to the CNAME. It used to work in 2022 (last year).

I thought a custom domain was a domain name requiring a certificate. The above domain name ( was purchased from Azure directly a few years back, and has no certificate, thus I do not thing it is a custom damain. Am I wrong?

Please help, I appreciate very much.

Microsoft Technologies based on the .NET software framework.
2,297 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,029 questions
0 comments No comments
{count} votes

Accepted answer
  1. TP 53,941 Reputation points


    In portal, please browse to your web app -- Custom domains blade, and make sure that is shown there and it has Secured in status column. If it doesn't you need to add domain and binding as needed until it says secured. Once you have it listed there as Secured it should work fine.

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



    1 person found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. Gwan Lie 20 Reputation points

    Hi TP,

    Looks like everything much better today other than that Issuance Pending, which is harmless so far.

    (1) Up until late yesterday, when I checked the Key Vault status (by going to the certificate page and press Certificate Configuration on the left panel, then click the square for the Step 1: Store, then check the Key Vault status for the Key Vault value I created), I got the error message "Failed to link certificate with the selected key vault value. ... The parameter KeyVaultCsmid has an invalid value".

    But today, it works. It accepts the Key Vault value I created, and displays the certificate subscription ID.

    (2) Going to the page for MyApp --> Certificates, pressing the Details gives the matching Subscription ID of mine.

    Thanks so much for your continuous and persistent help,


    0 comments No comments