购买静态Web应用程序的域名 [英] Purchase a domain name for static web applications

查看:65
本文介绍了购买静态Web应用程序的域名的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我现在想购买一个域,所以我已经部署了静态Web应用程序(Gatsby).如果将Web部署到Azure App Service,则有一些有关如何执行此操作的说明.但是对于静态Web应用程序,定制域"是可定制的.按钮提供了不同的选项.对于静态网站,我看到了对于App Service Web应用程序,我看到了那么,如何为静态Web应用添加/购买自定义域?

解决方案

文档参考:

您可以参考

第2步.

搜索并选择可用域,填写信息,然后单击创建.

第3步.

点击 Advanced Management Portal 来管理DNS.

第4步.

搜索您的域,然后单击管理DNSSEC DS记录".

第5步.

更改名称服务器,选择命令选项.让Azure托管它.修改后,应如下图所示.

第6步.

添加记录.

您可以从静态Web应用程序中获取价值.

并修改 www 信息的默认名称,并在 Advanced Management Portal 中使用它.

第7步.

然后,您需要在天蓝色的静态Web应用程序中验证自定义域.

配置后,您可以使用自定义域来访问您的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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆