简体   繁体   中英

Remove DNS authorization for IP address in Azure

I have a couple of web applications on an Azure server. A client allowed the domain to lapse, and I can no longer access the DNS settings for this domain. The domain's DNS settings (A records, CNAMES) are still authorized in Azure to control traffic for the server's IP address. So, any app I create on this server now resolves to the domain that is no longer under my control.

How do I get myself out of this pickle? Can I change the server's IP address? I have not been able to find out how to do that. Can I de-authorize the DNS settings that now control access to this IP address?

If you want to remove access to the app from a domain, you just remove the domain from the App Service.

DNS tells users where to go for a particular domain name. If your app doesn't mention it as a domain, the request won't be routed to it. Remember that addresses in Azure App Service are shared so it requires that you actually explicitly mention the domain in the app service's configuration.

Ugh. Ok, my issue was that I was redirecting to the domain in my web.config.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM