我们有一台运行WHM / CPanel的服务器,有相当多的(〜60)低stream量站点,我们不能打扰到一个适当的托pipe平台。
可以在http://example.com/cpanel的每个域上访问CPanel,但是这会redirect到http:// servers-fqdn:2083 / 。 我曾在其他CPanel服务器的/ cpanel链接redirect到http://example.com:2083/所以每个CPanel都在自己的域下运行,但我似乎无法find任何文件如何得到这个工作。
有两个原因是有用的;
所以,这是为了方便比任何实际更多,但仍然。
许多网站与CPanel,但访问时
http://example1.com/cpanel redirects to http://server-fqdn:2083/ http://example2.com/cpanel redirects to http://server-fqdn:2083/ [etc]
我们想要
http://example1.com/cpanel redirects to http://example1.com:2083/ http://example2.com/cpanel redirects to http://example2.com:2083/
对服务器的完全根访问权限(我是一个真正的系统pipe理员,但像CPanel一样的用户),WHM版本WHM 11.30.5,RedHat Enterprise Linux 5.5
它redirect到服务器主机名的原因是,你只需要得到一个SSL证书。 build议将其保留在主机名并强制SSL。
这就是说,你可以按你想要的方式来做。
login到WHM>调整设置>redirect