迁移到子域名

你好,

我是一名刚迁移自 phpBB 的新 Discourse 用户,非常喜欢它,不过修改起来稍微有点棘手。我有几个问题希望能得到帮助:

我的 Discourse 实例运行在 DigitalOcean 的 Droplet 上,可惜当初没有考虑到将其部署在子域名(例如 talk.foo.com)上,目前它位于根域名 foo.com。请问是否有人知道能否将其迁移到子域名,而不是放在根目录下?

假设上述操作可行,我是否仍能在同一台 Droplet 上托管 Discourse 之外的页面?例如一个更传统的首页,并附带指向 Discourse 的链接?我猜应该可以……我只需要在 Droplet 上安装 LAMP 环境吗?

非常感谢!

Yes, it is possible, The amount of work depends upon how much active content you have. This migration may include some downtime as well.
I don’t know exactly about your setup but this guide can be a good reference for what you want:

You can do that, but it requires additional set of configuration to your droplet.
Here is a Guide for that:

That can be done but I’d recommend a LEMP stack instead (it makes things much easier)

5 个赞