For numerous time it has happened that our DevOps guys have created a Azure WebApp with incorrect URL.
Which forced us the delete the resource group (as group contains web app, sql azure etc.) And re-create.
Is there a way to re-name /update the Web App URL via powershell Azure API or some hidden azure portal feature?
No, you can't. However, if you create a new App Service Plan in the same region and resource group then you can move all your sites to the new App Service Plan and delete the old one.
I understand that by default, Azure secures the *.azurewebsites.net wildcard domain with a single SSL certificate, so the clients can access the app at. "https://appname.azurewebsites.net"
In your web app, under Development Tools section, you may find the App Service Editor (Preview) option. Once you click on it, a new page appears with some details about this feature and a Go link that launches the previous url. App Service Editor auto-saves your changes and publishes them automatically.
If you want to change web. config files you can use the Azure portal, there is a tool called "App Service Editor" in preview or Kudu that lets you edit any of the files you've deployed.
It's not possible to rename web apps.
And you don't need to delete the whole resource group. Just delete the one web app and recreate it with the correct name.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With