This isn't so much of a problem, but would like to know why this happens.
we have a dedicated server running WHM. If I access the server via its IP address directly I am automatically redirected to
http://xx.xxx.xx.xxx/cgi-sys/defaultwebpage.cgi
I know how to edit this page (this isnt the problem)
I'm just curious why I get redirected to this .cgi page, rather than simply remain @
xx.xxx.xx.xxx/ and view my default "landing page", if you like.
What setting could I change so that if anyone visits my server IP, they do not get redirected to xx.xxx.xx.xxx/cgi-sys/defaultwebpage.cgi
For instance if you visit 173.194.37.104 (google), you view the google home page, but URL remains the same.
Hope this makes sense.
thanks
Best Answer
Not sure if you're still trying to figure this out, but you need to edit your httpd.config. You should be able to find it at the following location if you are on a VPS or dedicated server. /etc/httpd/conf/httpd.config
find where it looks like this. Usually surounded by "do not edit this"