Azure Apps setting up custom sub domains

  I have noticed that subdomains can be quite unclear on how to add them properly. Basically you have to use TXT record to verify ownership. Delete it and create CNAME record for app URL followed by A record for IP address of azure

Go to custom domain section for setting dev.ekasmin.com



Step 1: Add a TEXT Record for example 




Step 2: Open your DNS Management from Go Daddy/Domain Provider. Add the TXT Record

Step 3: In Azure it will switch to CNAME record for dev.ekasmin.com like this 



Step 4. Now here is critical part. You can't add TXT and CNAME for same subdomain "dev". So delete the TXT created in Step 2 which has been used for ownership verification. Add CNAME in your DNS Management dev   with the URL of app "gray-island-0a3e7441e.5.azurestaticapps.net"





Step 5: Also add an A record for the IP address of "gray-island-0a3e7441e.5.azurestaticapps.net" . use online tool to find IP address.



This will now open your app when you type dev.ekasmin.com

Comments

Popular Posts