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 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?