Hi guys, I have a very strange problem. I have about 5 clients on my server. Mostly just friends that have small websites with low/no traffic. There is a weird issue. One website is redirecting to ANOTHER CLIENT's website! For example, there is client1. Client1 has his own, private login to ISPconfig. client1's website is client1.com. Client2 is a totally separate client with their own separate login to ISPconfig. But client1 is redirecting to client2's website! I checked client1's redirect settings and there are no redirects in place in ISPconfig for client1. To make matters worse, client2's website has all kinds of adult items on it. So when people visit client1.com they're brought to a very explicit page. Very embarrassing. Where can I begin to troubleshoot this? And any ideas on how to fix this? Using ISPConfig 3 with nginx EDIT: It appears to only affect HTTPS. Basically, if you visit client1 with https it redirects to client2, but otherwise its fine.
Most likely, client1's website is not having a HTTPS server block, and the client2's have it. You will want to check your nginx configuration, the HTTPS on client2's website perhaps is set to nginx default https server.
Please check your control panel sites section IP field. I hope your any one client select you hosting server there but you need to select (*) there. Thanks
Hi guys, IP field is always " * " for all clients. Thank you for mentioning though. Any other ideas? rosehosting mentioned checking nginx config files, but which ones should I look at? I think they are probably right, since it only affects SSL
Which kind of ssl cert do you use on that website? let's encrypt? If yes, is the let#s encrypt checkbox enabled when you open the site settings now. If not, enable that checkbox and save, then wait 2 minutes and check if the website works now. If it does not work, then check again if the Let's encrypt checkbox is still checked, if not, then the LE cert could not be issued. In that case, look here: https://www.howtoforge.com/community/threads/lets-encrypt-error-faq.74179/
Hi till - unfortunately, that still didn't fix the issue. I do not use Let's Encrypt, I was never able to get certbot to work on my server. So I use a Comodo SSL certificate (eventually, I would like to figure out how to fix certbot). It is definitely an SSL issue, since the redirect only happens with https Any other ideas?