azure-web-app-servicegoogle-domain-api

Have Subdomain point to a different azure address


I'm trying to setup my google domains to where "blah.net" points to my app in azure sites, but I want "dev.blah.net" to point to a different app on azure (My dev instance).

Anyone know how to setup this up? I tried doing subdomain forwarding but that didn't seem to work.


Solution

  • I'm trying to setup my google domains to where "blah.net" points to my app in azure sites, but I want "dev.blah.net" to point to a different app on azure

    You could use A record for your root domain(blah.net) and CName record for your sub domain(dev.blah.net). Steps below are for your reference.

    1. Get production web app IP address, pre-configured domain and dev web app pre-configured domains from Azure Portal.

    enter image description here

    1. Configuration A record, CName record and TXT record as following in Google domain management tool.

    enter image description here

    1. Add hostname for your product and dev app on Azure portal.

    enter image description here enter image description here