title: Azure website returns 404 error after adding custom domain
body: <p>I'm using the Azure Websites hosting in shared mode. After going through the process of adding a custom domain I seem to be getting a 404 when browsing to <code>www.mydomain.example</code></p>
  <p>When I browse to my site using the <code>*.azurewebsites.example</code> address it renders perfectly. I have also turned on all available logging and can't see the 404 errors in the web logs or any other signs of the problem.</p>
  <p>To configure the custom domain name I followed instructions on <a href="https://docs.microsoft.com/en-us/azure/app-service/app-service-web-tutorial-custom-domain?tabs=a%2Cazurecli" rel="nofollow noreferrer">this</a> page, including setting up the CNAME record to <code>awverify.mysite.example</code> and an A record to the IP address provided in the portal.</p>
  <p>I know there are other questions on Stack Overflow, but none of them provide an answer that fits my HTTP 404 issue. Also many of the questions on Stack Overflow seem to be out of date not that azure websites support domain names in shared mode (I believe)</p>