I wanted the default webpage of an internal server to go to the Cgi-bin directory so I could see my configs.
Here’s what I did.
Log into the server via SSH.
So I could modify the default webpage as root.
This is the file that needed modifying, I changed it to the following code:
<meta HTTP-EQUIV=”REFRESH” content=”0; url=http://rancid/cgi-bin/viewvc.cgi/”>
In my case, my internal server is called rancid and this was the page I wanted to access by default. In your case it will be a different server and different page probably so just needs modifying to your required page
Nice and easy.
How to Auto Redirect Apache Default Webpage to a Specific Page