Seeking Advice on Achieving Full URL Customizability for Azure-hosted Application

hampton123 1,165 Reputation points
2024-01-30T21:43:54.13+00:00

Hello, currently I want to have a more custom domain for my application. Users first login through a SPA with B2C, and then after the user logs in, they navigate through HTML pages (served up by APIM through Azure Functions) to send requests for uploading and downloading to my storage account. The SPA is a static website hosted in my storage account, and so to not only make the URL user friendly but also hide the name of the storage account, I would like to have a custom domain, and I was wondering if there were any Azure services that allowed me to do this. I was considering using Azure Front Door. I had previously asked in this forum post about how much customizability it offered, however although a custom domain is provided, it contained a large uniquifier that would make the URL quite difficult to remember - it just isn't very user friendly for my intended consumers. Is there another Azure service that could provide me with more URL customizability? Edit: I neglected to mention the fact that currently my SPA is hosted by my Storage Account's static website - users navigate to the static website that hosts my SPA to upload and download files.

Azure Front Door
Azure Front Door
An Azure service that provides a cloud content delivery network with threat protection.
701 questions
0 comments No comments
{count} votes

Accepted answer
  1. TP 100.1K Reputation points
    2024-01-30T22:19:12.38+00:00

    Hi,

    Why not purchase a public domain from a domain registrar and use that with your App? That's what I would recommend.

    In terms of your storage account, you could use Front Door for that, or, my preference would be to have people upload/download to your application, which would in turn communication with your storage account under the covers.

    Please click Accept Answer and upvote if the above was helpful.

    Thanks.

    -TP


2 additional answers

Sort by: Most helpful
  1. Bruce (SqlWork.com) 68,081 Reputation points
    2024-01-30T22:35:53.7733333+00:00

    you might also look at azure static website which was designed to host a SPA. https://azure.microsoft.com/en-us/products/app-service/static


  2. Pinaki Ghatak 5,310 Reputation points Microsoft Employee
    2024-01-31T07:13:49.9666667+00:00

    Hello hampton123

    Yes, Azure does provide services that allow you to have a custom domain for your application. Here are a couple of options:

    1. Azure App Service: Azure App Service allows you to map an existing custom Domain Name System (DNS) name to App Service. You can configure a custom domain in the Azure portal by navigating to your app’s management page and selecting “Custom domains”. Then, you can add your custom domain.
    2. App Service Domain: App Service domains are custom domains that are managed directly in Azure. They make it easy to manage custom domains for Azure App Service. You can buy an App Service domain and configure an App Service app with it.

    Remember, to use an App Service domain, the app’s App Service plan must be a paid tier and not Free (F1). Also, you need to remove the spending limit on your subscription. I hope this helps! If you have any other questions, feel free to ask in the community. Also tag this answer as accepted, if this helps you as it helps the community readers who may have similar questions.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.