Page 1 of 1

Vesta server IP redirecting to some website

Posted: Tue Apr 09, 2019 12:33 am
by ccaliman
Hello,

When I access https://SERVERIP > It´s redirect to some website that are hosted on my vesta. (I wanna redirect that to some error page.)

I fix that on http only, editing /etc/nginx/conf.d/SERVERIP.conf, and change the return to "return 503;"

If I do the same I did to solve the http problem with https. all sites become unavailable.

Someone can help me?

Re: Vesta server IP redirecting to some website

Posted: Mon Apr 15, 2019 6:12 pm
by VENAXIS
This seems to have answered your question (first solution), but it will cause issues with people using older versions of internet explorer: https://serverfault.com/questions/60713 ... to-website