question

RichHolopoff-4511 avatar image
0 Votes"
RichHolopoff-4511 asked ryanchill answered

How to change Azure destination URL

I recently published my ASP.NET.CORE MVC 3.1 web app created in VS2019 Community to my free Azure app plan . The destination URL ended up as https://joanmarie20210312124056.azurewebsites.net.

Is there a way to shorten joanmarie20210312124056 to joanmarie?
Would upgrading to a pay as you go Shared plan and purchasing a custom domain name solve my problem?

azure-webapps-custom-domains
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

ryanchill avatar image
0 Votes"
ryanchill answered

Hi @RichHolopoff-4511,

The name of your app service will determine how it's accessible from the internet. For that reason, Visual Studio publish tools appends a datetime to end of your project to alleviate running into naming conflicts. If https://joanmarie.azurewebsites.net doesn't resolve, it is an available app service name, and you can redeploy your code to the new web app to joanmarie.

However, if you would rather you site be http://joanmarie.com, then you would need to upscale your app service plan to Shared or Basic tier and bind your purchased domain to your app service. The name of your app service doesn't matter at that point.

NOTE: You can add a custom domain to a shared tier, however, you can't apply SSL cert to it.

Regards,
Ryan


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.