Turns out I was missing a listen statement. Thanks for the help! Jason Crews On Sat, Jul 9, 2022 at 3:25 AM Ian Hobson <hobson42@gmail.com> wrote: > > Hi Jason, > > This sounds to me like a wordpress problem. > > Within the wordpress database, you will find a ???-options table, where > ??? is a prefix for the site. > > The first two entries in that table are theby the1gofer - Nginx Mailing List - English
server_tokens off; # server_names_hash_bucket_size 64; # server_name_in_redirect off; ssl_prefer_server_ciphers on; # server { # listen localhost:110; # server { # listen localhost:143; server { listen 127.0.0.2:80; server_name 127.0.0.2; server unix:/tmp/php-cgi.socket; server 127.0.0.1:9000; server { server_name secondarydomain.com; fastcgi_param Sby the1gofer - Nginx Mailing List - English
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/domaiby the1gofer - Nginx Mailing List - English
I'm not sure how to use the code formatting here, but I posted my question over on reddit before I found this forum. https://www.reddit.com/r/nginx/comments/vtuha9/domains_not_going_where_expected/by the1gofer - How to...