How to Modify the Apache port in WHM

January 9, 2024 / Servers, Hosting & Email

This guide explains how to modify the Apache port in WHM. Modifying the Apache port in WHM may be necessary for security reasons, to resolve port conflicts, or to comply with specific network configurations, enhancing the server’s performance and functionality.

Follow the steps:

  1. Log in to WHM.
  2. Select the “Server Configuration” section and click on the “Tweak settings” sub-option.
    server configuration
  3. Select the “System” tab.
  4. Choose the textbox for “Apache non-SSL IP/port,” input the new port number after the colon (e.g.,
  5. Select the textbox for “Apache SSL port,” input the new port number after the colon (e.g.,
    Apache SSL
  6. Scroll to the page’s bottom, and click the “Save” button.

That is it! If you have any questions about this article, contact our support team. For resolving unexpected Apache shutdown errors, refer to our Knowledge Base (KB)-

Spread the love