Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to rename the Azure WebApp URL

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?

like image 261
Nil Pun Avatar asked Oct 13 '15 10:10

Nil Pun


People also ask

Can we rename Azure App Service?

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.

What is Azure Web App URL?

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"

How do I edit my Azure Web App?

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.

How do I change my Azure web config?

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.


1 Answers

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.

like image 109
Zain Rizvi Avatar answered Sep 21 '22 15:09

Zain Rizvi