Vesta server IP redirecting to some website
Vesta server IP redirecting to some website
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?
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
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