Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
Hi @Puttisate
Thank you for reaching us regarding the issue.
The *.azurewebsites.net DNS name is the default hostname automatically assigned and managed by Azure App Service, and it is not a DNS record that you own or can manually delete.
- This domain belongs to Microsoft and is part of the Azure platform infrastructure.
- All records under the
azurewebsites.netzone are platform-managed and cannot be modified or removed manually.
What happens when the web app is deleted?
- When an App Service is deleted, the associated default hostname (for example,
yourapp.azurewebsites.net) is eventually deprovisioned automatically by the platform. - However, there can be a retention period or backend cleanup delay, during which:
- The DNS name may still resolve
- The name may still appear unavailable for reuse
- App Service names (which form part of the
*.azurewebsites.netURL) must be globally unique across Azure, so the name may remain reserved temporarily after deletion.
When action is required:
The only time you need to take action is if:
- You configured a custom domain (like
app.contoso.com) pointing toazurewebsites.net> In that case, you must remove the DNS record (CNAME/A) from your DNS provider to prevent stale or dangling DNS.
Reference:
https://learn.microsoft.com/en-us/troubleshoot/azure/app-service/create-delete-resources-faq-new
https://learn.microsoft.com/en-us/azure/app-service/app-service-undelete?tabs=portal
https://learn.microsoft.com/en-us/azure/security/fundamentals/subdomain-takeover
Kindly let us know if the above helps or you need further assistance on this issue.
Please "accept" if the information helped you. This will help us and others in the community as well.