I have several sites serving up fine on nginx linode. One is a default site that loads up when browsing to the IP. I wanted this default site to also load when putting the fqdn in browser. In this nginx config, I have the ip and fqdn, server_name 123.155.91.26 linode124443.mydomain.com;
When browsing to the ip, it works fine, when browsing to the FQDN it loads one of the other sites on the linode. The server_name in the domain its loading is like this: server_name
www.otherdomain.com otherdomain.com; so I'm not sure whay this other site is showing when browsing to the linode fqdn...
I've made sure the file in sites-enabled is right too. I've done this same thing on a different linode and it works fine.