apache or nginx?
I know with apache if there is a problem with your virtualHost config it seems to just show the first available website
Problem:
www.domain.com is automatically redirecting to test.domain.com.
Context:
I have used Forge to set up a web server at DigitalOcean. This server has two sites on it:
I have the domain routed through Cloudflare and have two A records configured:
Why does domain.com not load? The code, environment, and data are all correct.
(Also, if I point domain.com to a different IP address, it's fine.)
Although not 100% sure since I was trying several things at once, it appears the issue was that I did not have SSL installed on the root domain while it was installed on test. Hence, the redirect (?).
Please or to participate in this conversation.