The discussion revolves around setting up Discourse at forum.domain.com while maintaining the main site at domain.com. The original poster, epsteindidnt, is experiencing issues with DNS setup and redirecting between the two domains.
geoff777 initially suggests resolving the root domain and forum subdomain to different IPs, but later acknowledges that it is possible to achieve the setup on the same server.
epsteindidnt confirms that both domains point to the same IP and wonders if this is the problem. geoff777 provides a link to a relevant topic on setting up Discourse on a server with existing Apache sites and advises educating the client on the importance of separate servers for scalability.
However, epsteindidnt questions the necessity of separate servers, and geoff777 agrees that a single server can run multiple websites, offering hope for a successful setup on a single server.
I apologize if this seems like a really basic question, what I want to do seems to me like something a lot of people would want to do, but my own use of Google/search couldn’t find anything on it.
I have a site at domain.com (using apache), and I want to have a Discourse forum for that site at forum.domain.com. I want the root domain and the forum domain to resolve distinctly.
I believe I have all the DNS setup correctly, with both the root domain and forum subdomain pointing/resolving to the same IP.
If I install Discourse first, the root domain always redirects to the discourse forum subdomain. So users cannot access the root domain.
And, if I setup apache first with my root domain and try to install Discourse at the forum subdomain, Discourse fails to install and says it can’t resolve the forum subdomain (even though it has no problem with this if I have not already set up apache for the root domain).
So, what am I doing wrong, and what is the proper way to create the setup I am trying to achieve?
I have both on the same server & therefore the same IP. Is that the problem, do I need two servers for this kind of setup? The documentation said forum.domain.com should have same IP as domain.com.
Is there a way to do this without using 2 servers? My client probably doesn’t want to pay to run a 2nd server for what he views as one website.