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?
文档参考:
您可以参考官方文件来解决你的问题。
Steps:
Step 1.
Search App Service Domain
当创建新服务时,并创建它。
Step 2.
搜索并选择可用的域名,填写信息并单击创建。
Step 3.
Click Advanced Management Portal
管理 DNS。
Step 4.
搜索您的域,然后单击管理 DNSSEC DS 记录。
Step 5.
更改名称服务器,选择推荐选项。让 Azure 托管它。修改后,应该如下图所示。
Step 6.
Add Records
.
您可以从静态 Web 应用程序中获取价值。
并修改默认的Namewww
信息,输入Advanced Management Portal
.
Step 7.
那么你需要Validate custom domain
在天蓝色静态网络应用程序中。
配置完成后,您可以使用自定义域来访问您的 Web 应用程序。
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)