为静态 Web 应用程序购买域名 [英] Purchase a domain name for static web applications
问题描述
我已经部署了一个静态 Web 应用程序 (Gatsby),现在我想购买一个域.如果将 Web 部署到 Azure 应用服务,则有一些关于如何执行此操作的说明.但是对于静态 Web 应用程序,自定义域"不适用.按钮提供不同的选项.对于静态网站,我看到对于应用服务 Web 应用程序,我看到那么如何为静态 Web 应用添加/购买自定义域?
文档参考:
您可以参考
第 2 步.
搜索并选择可用的域,填写信息并点击创建.
第 3 步.
点击高级管理门户
管理DNS.
第 4 步.
搜索您的域,然后单击管理 DNSSEC DS 记录.
第 5 步.
更改名称服务器,选择推荐选项.让 Azure 托管它.修改后应该如下图所示.
第 6 步.
添加记录
.
您可以从静态 webapp 中获得价值.
并修改www
信息的默认名称,输入到Advanced Management Portal
中.
第 7 步.
那么你需要在 azure static web app 中Validate custom domain
.
配置后,您可以使用自定义域访问您的 web 应用.
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?
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.
这篇关于为静态 Web 应用程序购买域名的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!