1
votes

I try to achieve something like this.

My App runs on xyz.azurewebsites.net . Now I want that the CNAME 123.azurewebsites.net redirects to xyz.azurewebsites.net

123.azurewebsites.net --> xyz.azurewebsites.net

I tried to add that CNAME in the Azure portal under custom domains put everytime I click "Add Custom Domain" I get the alert Message "Your unsaved edits will be discarded." And when I click "Ok" nothing happen.

In my notifications I get the message "Failed to add hostname 123.azurewebsites.net. 123.azurewebsites.net is invalid."

Is this a problem because I try to redirect from one "azurewebsites" domain to another "azurewebsites" domain or do I miss out something?

1

1 Answers

0
votes

Adding a custom domain sometimes takes a long time to update. Check back in 20 minutes to see if the change has gone through. If you go to www.digwebinterface.com and type your custom domain name in, "xyz.azurewebsites.net" you should see that it has mapped it to your original host name, "123.azurewebsites.net".