Domains not working as expected with nginx

Jason Crews jason.crews at gmail.com
Fri Jul 8 17:14:13 UTC 2022


I'm not sure what I've got misconfigured here, I would appreciate
anyone who could point me in the right direction.
Site structure:

maindomain.com -> mediawiki -> works
sub.maindomain.com -> basic php website -> works
secondarydomain.com -> wordpress -> goes to sub.maindomain.com

I've posted all of the config files on reddit:
https://www.reddit.com/r/nginx/comments/vtuha9/domains_not_going_where_expected/

Not sure what's going one, any help would be appreciated.

Jason Crews



More information about the nginx mailing list