I created a Azure Static Web App in Azure. The process saved a workflow file in the Github repository and created a URL https://nice-beach-0253b8b10.azurestaticapps.net
. How can I change this URL?
Asked
Active
Viewed 5,219 times
10

wonderful world
- 10,969
- 20
- 97
- 194
-
2You mean assign a custom domain like mywebsite.com? – Gaurav Mantri Mar 06 '21 at 13:42
-
1I did not like the **nice-beach** in the URL. Until I get a custom domain, I need to use the URL like ```https://mywebsite.azurestaticapps.net```. – wonderful world Mar 06 '21 at 16:33
-
My guess is that `nice-beach-0253b8b10` is the name of your Azure Static Web App and was auto-assigned. Just speculating but can't you change the workflow somehow and assign the name of your liking? – Gaurav Mantri Mar 06 '21 at 16:39
-
1I wish there is some way to do this. Linking related github issue: https://github.com/Azure/static-web-apps/issues/346. An upvote might get it some attention. – kiranpradeep Aug 22 '21 at 15:15
3 Answers
6
You currently can't change the azurestaticapps.net itself. However, you can configure a custom domain (using your own domain provider) or setup a CNAME record.
See more info: https://learn.microsoft.com/en-us/azure/static-web-apps/custom-domain?tabs=azure-dns

Erhnam
- 901
- 2
- 13
- 23
1
Unfortunately, you cannot pick and choose your app URLs. But if you hate only the nice-beach part, you can always create another Static Web App resource and hope for the best as Azure picks a random two-word phrase every time.

Ε Г И І И О
- 11,199
- 1
- 48
- 63
-1
Static web apps are just another Azure app service and you should be able to set up custom domains as you normally do for any other app service.

freakyroach
- 462
- 2
- 14
-
3I did not like the **nice-beach** in the URL. Until I get a custom domain, I need to use the URL like ```https://mywebsite.azurestaticapps.net```. – wonderful world Mar 06 '21 at 16:33
-
4@wonderfulworld You are one of the lucky ones. I got **proud-smoke** for mine :| – Ε Г И І И О Oct 28 '22 at 03:12