首页 > 解决方案 > 如何为运行 WHM 的服务器设置默认的 Apache 登录页面?

问题描述

我有一个为 cPanel 帐户安装了 WHM 的服务器。这带有它自己的 Apache 配置。

如果我点击此服务器的域(没有 userdir temp url)或 IP,我将获得默认的 Apache 登录页面(cgi-sys/defaultwebpage.cgi)。

我想在服务器上指定一个文件夹,作为这个登陆页面/网站。您如何修改 WHM 或 Apache 设置来完成此操作(在此过程中不会搞砸 WHM/cPanel)?

标签: apachecpanelhttpd.confwhm

解决方案


Since you have mentioned WHM, an easier way to do would be to use the web editor feature provided by WHM itself to custom make the default page instead of the one shipped by cPanel.

Web template editor in WHM can be found in account section.

If needed, this tutorial might help you : https://www.basezap.com/change-cpanel-default-pages/


推荐阅读