How to set up a sub-domain in Azure

Asked

Viewed 73 times

2

I have an app at the following address myapp.azurewebsites.net. I registered a new domain mydom.srv.net and configured the CNAME in Registro.br as documentation. Everything is ok to access mydom.srv.net!!!

Now, how can I set up a sub-domain (e.g. api) api.mydom.srv.net? I tried to include a new CNAME value api for myapp.azurewebsites.net/api but I get an error message (invalid server name).

1 answer

1

If your intention is to use api.mydom.srv.net just create the DNS in the.BR Record (or any other DNS) as follows

inserir a descrição da imagem aqui

However, if you want to access myapp.azurewebsites.net/api or mydom.srv.net/api there is no need to create a DNS entry, as this access must be done via application and not DNS level.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.