Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Web Server
  • Search

Vesta server IP redirecting to some website

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
2 posts • Page 1 of 1
ccaliman
Posts: 3
Joined: Fri Aug 31, 2018 3:58 pm

Os: CentOS 6x
Web: apache + nginx
Vesta server IP redirecting to some website
  • Quote

Post by ccaliman » Tue Apr 09, 2019 12:33 am

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?
Top

VENAXIS
Posts: 13
Joined: Sat Oct 10, 2015 11:10 am

Re: Vesta server IP redirecting to some website
  • Quote

Post by VENAXIS » Mon Apr 15, 2019 6:12 pm

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
Top


Post Reply
  • Print view

2 posts • Page 1 of 1

Return to “Web Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password