I have 2 separate instances of discourse, and I wanted to roll them into a single multisite instance.
I followed the multisite guide to set up a new db and the build went fine. The problem is that when I navigate to the domain on instance b, it redirects to instance a (the original one that is tied to WordPress SSO). This means that:
This one is more of a Discourse multisite question, as your issue seems to be the relationship between your two Discourse multisite instances and potentially the routing you have setup between the two of them. Wordpress SSO is not your issue here, so I’ve re-categorised your topic to support.
I would note the following warning on Discourse’s multisite howto
While multisite is supported in the Discourse application, this is an advanced sysadmin setup. If you don’t know what you’re doing, do not set up multisite . The Discourse team is unable to provide multisite configuration support.
As our focus is more on the Wordpress plugin per se in wordpress, and I’m no discourse multisite expert myself, your best bet might be to see if someone in the community can point you in the right direction, or for you to hire someone to help you out in the marketplace.
My best guess is that you have your reverse proxy misconfigured and it’s redirecting site 2 to site 1 , or perhaps it did once and your browser cached the 301 redirect.
I’m using the standard nginx proxy config. The only change I made is that I added instanceb in the server_name so that traffic would be routed to the container. Is there a different way of doing this with discourse multisite?