Change the default page for the WHM server - no account

rocksolidhq

Active Member
Sep 13, 2011
43
1
56
cPanel Access Level
DataCenter Provider
Hey Guys,

This is a difficult one to describe but here goes.

We have several WHM servers and while our primary website lives on one of them, visiting the root address of the other servers (without /whm, /cpanel, webmail, etc) results in the defaultwebpage.cgi. Which directory should I add a redirect to get visitors over to our proper website?

thanks,
dean
 

rocksolidhq

Active Member
Sep 13, 2011
43
1
56
cPanel Access Level
DataCenter Provider
Nevermind. Finally found the answer:
There's a lot easier way to do it. You should just revise /usr/local/apache/htdocs/index.html file to change it from going to the default page:

Code:
<html><head><META HTTP-EQUIV="refresh" CONTENT="0;URL=/cgi-sys/defaultwebpage.cgi"></head><body></body></html>
Change to the following:

Code:
<html><head><META HTTP-EQUIV="refresh" CONTENT="0;URL=http://domain.com"></head><body></body></html>
Please replace domain.com with your domain name.

http://forums.cpanel.net/f5/possibl...n-ip-http-xx-xx-xx-xx-284642.html#post1191022
 
  • Like
Reactions: T1531