Queth is planning to migrate three instances of PHPBB 2 (French, Dutch, English) to a single instance of Discourse, serving all languages on the same domain. The current setup includes 30,000 users, 800mb databases, and static HTML content hosted on a VPS with Apache.
itsbhanusharma and Cameron_D suggest that importing multiple databases into one forum is possible, but requires modifications to the importer script to handle unique IDs and users. pfaffman, who specializes in imports, confirms this and adds that setting the language user setting during import is feasible.
Regarding keeping the same domain, itsbhanusharma proposes configuring Discourse on a separate subdomain, testing, and then moving to the preferred domain. pfaffman suggests using Apache reverse proxying to host multiple Discourse instances on the same server.
Queth is concerned about hosting Discourse on their VPS with Apache, but pfaffman provides a link to a guide on setting up Discourse on a server with existing Apache sites. pfaffman also recommends using a separate server for testing and production instances, but notes that it’s possible to host multiple instances on the same server using Apache reverse proxying.
It should be with some changes to the importer script so it can differentiate between the different forums, otherwise when you start the second import all the posts from topic ID X will end up in the topic with the same ID from the first one imported.
There is an option somewhere that will set the interface language to whatever the user’s browser locale is set to, which would probably be useful in this scenario.
Well, I’m not team, but I do make much of my living from imports.
As @Cameron_D said, yes, you can import multiple databases to a single import. You need to do some work to see that each forum has unique user/post/etc IDs and some additional work if there are any users that are members of multiple fora.
I remember that is still in beta and highly unreliable that’s why I’m a bit shy to recommend it.
There is one thing though! Can the locale for all the users in an import be set or is it just a discourse thing?
thank you for all the help and explanation regarding the languages!
i am still hesitant about keeping the same domain.
lets say i want 2 instances of discourse, one to test, and one for production. that way i can keep a testing board next to the live board.
how would I go setting up that? is that possible?
edit: also, my VPS has apache, is it still possible to get discourse on that?
edit 2: with searching found that it should be possible, however still my question stands about 2 discourse instances
It’s easiest to just set up another server, but you could use the same principle in the above link to have multiple Discourse instances on a single server with Apache reverse proxying both.