title: Wildcard subdomains on Azure
body: <p>I'm trying to get an Azure site set up so that it will handle all (wildcard) subdomains, and not require any manual addition of a <code>CNAME</code> record every time a new customer signs up and chooses a subdomain like xyz.mysite.com</p>
  
  <p>I'm following this guide:
  <a href="https://blogs.msdn.microsoft.com/waws/2015/12/01/mapping-a-wildcard-domain-name-to-an-azure-app-services-web-app-website/" rel="noreferrer">https://blogs.msdn.microsoft.com/waws/2015/12/01/mapping-a-wildcard-domain-name-to-an-azure-app-services-web-app-website/</a></p>
  
  <p>I'm temporarily using a the domain www.joburger.co.za</p>
  
  <p>I've created the <code>A</code>, <code>CNAME</code> &amp; <code>TXT</code> records on the domain (did them all to be sure). In Azure, I've added the hostname www.joburger.co.za and <a href="http://test.joburger.co.za/login?ReturnUrl=%2F" rel="noreferrer">it works</a>.</p>
  
  <p>In Azure, I can also add another hostname for a subdomain, like test.joburger.co.za, and <a href="http://test.joburger.co.za/" rel="noreferrer">it works</a> too.</p>
  
  <p>But if I don't add a hostname in Azure, then it <a href="http://abc.joburger.co.za/" rel="noreferrer">doesn't work</a>.</p>
  
  <p>How do I get Azure to handle the wildcards without having to manually add the hostnames each time?</p>