Page 1 of 1

IP Redirecting to random domain

Posted: Thu Sep 03, 2020 11:05 pm
by mohsinamer
Hello, first off, I have tried changing the location of the .conf file to load at first in nginx and httpd configuration, but it reverts back to it's own format when a new domain is added. My IP is (For example) 1.1.1.1, now when I open 1.1.1.1 it opens any random site which is hosted on our server, most of the time the one which exists on the top of the file at /etc/httpd/conf.d/vesta.conf. I tried assigning a domain to the IP but that does not work too. I previously tackled this issue by adding my IP as alias to the site I want to open through IP, which is basically the default server welcome page, but recently our server IP was changed and now when we try to add 1.1.1.1 as an alias it says web alias 1.1.1.1 exists.

Help Please.