是否可以在子域中添加Gatsby博客到现有的Gatsby网站?
我的问题是:
我想创建一个盖茨比网站(网站的主要部分)。我还希望在subdomain blog.site.com上使用NetLify CMS(即将托管的网站)一个Gatsby Run博客。
这可能吗?我需要研究/知道什么才能实现这一目标?对于域,如果需要该信息,我将使用Google域。
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您只需要创建两个不同的gatsby网站:
,您不需要任何额外的配置(甚至不需要
pathprefix
),只是一个常规站点。配置必须在服务器(netLify)中完成,将每个站点添加到a 自定义域< /a>。关于Google域,您只需要在每个服务器中添加适当的DN。您可能会发现这篇文章有见地:
You just need to create two different Gatsby sites:
On Gatsby's side, you don't need any extra configuration (not even
pathPrefix
), is just a regular site. The configuration must be done in the server (Netlify) adding each site to a custom domain.Regarding the Google domain, you will only need to add the proper DNS in each server. You may find this article insightful: https://medium.com/@jacobsowles/how-to-deploy-a-google-domains-site-to-netlify-c62793d8c95e