问题
I have deployed a static web application (Gatsby) now I want purchase a domain. If the web was deployed to Azure App Service there is some instructions on how to do that. But for static web applications the "custom domain" button gives different options. For a Static Web Site I see For an App Service web application I see So how do I add/purchase a custom domain for a static web appication?
回答1:
Document reference:
You can refer to the offical document to solve your issue.
Steps:
Step 1.
Search App Service Domain
when create new services, and create it.
Step 2.
Search and select the available domain, fill in the information and click create.
Step 3.
Click Advanced Management Portal
to management DNS.
Step 4.
Search your domain, and click Manage DNSSEC DS Record.
Step 5.
Change Nameservers, choose recommand options. Let Azure host it. After modify, it should be like below screenshot.
Step 6.
Add Records
.
You can get value from static webapp.
And modify default Name of www
info, iuput it in Advanced Management Portal
.
Step 7.
Then you need Validate custom domain
in azure static web app.
After Configure, you can use your custom domain to visit your webapp.
来源:https://stackoverflow.com/questions/63478958/purchase-a-domain-name-for-static-web-applications