How Do I Add A Custom Domain to My Web App?

brtrach-test 0 Reputation points
2025-01-14T02:01:54.12+00:00

Hello,

I Have a Static Web App and would like to add my custom domain to it. How do I accomplish this?

Thank you

Azure Static Web Apps
Azure Static Web Apps
An Azure service that provides streamlined full-stack web app development.
1,039 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Shikha Ghildiyal 2,170 Reputation points Microsoft Employee
    2025-01-14T06:56:22.8233333+00:00

    Hi brtrach-test,

    Thanks for reaching out to Microsoft Q&A.

    By default, Azure Static Web Apps provides an autogenerated domain name for your website, but you can point a custom domain to your site. Free SSL/TLS certificates are automatically created for the autogenerated domain name and any custom domains you may add.

    When you map a custom domain to a static web app, you have a few options available, which include configuring subdomains and an apex domain.

    The following table includes links to articles that demonstrate how to configure a custom domain based provider type. 1

    Expand table

    Action Using... Using...
    Set up a domain with the www subdomain Azure DNS External provider
    Set up a domain with the www subdomain Azure DNS External provider
    Set up an apex domain Azure DNS External provider

    reference document- https://zcusa.951200.xyz/en-us/azure/static-web-apps/custom-domain

    Please do not forget to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.

    0 comments No comments

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.