I was currently using a specific IP Address under IPv4-Address in Web Domain settings. However, due to adding of slave server, the IP address in "listen" directive in vhost file in slave server is left blank giving it an error in nginx no host. The error is: Code: no host in ":80" of the "listen" directive in /etc/nginx/sites-enabled/100-example.com.vhost:2 To fix this issue, I need to remove the IP address in the master server so the listen directive on both server will become: Code: listen *:80; This work fine on slave server. However, in the master server, when I open example.com, it points to a different website like domain.com. And not on its own domain which is example.com. I tested this locally on my computer by also adding multiple IP Address and it works fine. But not on my live server: Can please tell me what I'm missing? Thank you
See here: https://forum.howtoforge.com/threads/please-read-before-posting.58408/ The chapter "when visiting domain b .... " On Mirrored systems (and even generally on all systems today) always use * and not the IP for all sites.
Domain B is also on https. But still, it redirects to another domain. Any other information to check to verify where I did wrong?
So it means I can't use * for other site while I use specific IP on other site? Edit: I just read your other post. Thanks. I'll update all site to use * instead of specific IPs.