Linode Forum
https://forum.linode.com/

FQDN loading wrong site in browser, nginx
https://forum.linode.com/viewtopic.php?f=19&t=10577
Page 1 of 1

Author:  jgjh151 [ Thu Oct 31, 2013 9:59 pm ]
Post subject:  FQDN loading wrong site in browser, nginx

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.

Author:  jgjh151 [ Thu Oct 31, 2013 10:04 pm ]
Post subject:  Re: FQDN loading wrong site in browser, nginx

It was varnish, cached...working now.

Page 1 of 1 All times are UTC-04:00
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/