How to change and customise cPanel default pages

December 12, 2024 / cPanel & WHM

Want to make your cPanel Server look attractive by replacing default pages? You are at the right place; we will help you change and customise cPanel default pages in very easy steps. To do this, we will require root access to the server terminal and WHM.

Customised pages are more appealing and look nice to the user. A few instructions can also be added to the default page itself.

Requirements:

  1. Root access to WHM and Terminal.
  2. HTML Pages designs to replace current pages.

Procedure:
Change Default Website, Account Move, Connection Selection, and Account Suspended Templates.

  1. Login to WHM of the server will root access.
  2. Search “Web Template Editor” under the “Account Function” section.
    web template
  3. It will show 4 tabs where you can upload your HTML page or add the HTML source code.
  4. Images used in these templates must be placed in /usr/local/cpanel/img-sys/ and linked via /img-sys/ if you have access to this directory.
    editor
  5. After updating the press “Save” Button.
    save

Add Default Index HTML Page on new account creation

  1. Login to the root user of the server or use the “Terminal” option from WHM.
    login root
  2. Copy HTML and Images to ‘/root/cpanel3-skel/public_html’ for cPanel accounts whose owner will be root.
    terminal
  3. If you have any resellers with the username “whuk” and want their accounts to have custom HTML page then paste the index.html file in ‘/home/whuk/cpanel3-skel/public_html’
  4. Any new accounts created on the server will get your custom HTML page in its “public_html” directory automatically. Our default “index.html” page looks like below.

That is it! Hope you liked our article. If you require additional assistance, feel free to contact our support staff.

Spread the love