How to prevent redirections to the hostname on cPanel services ? Print

  • How to prevent redirections to the hostname on cPanel services
  • 0

Introduction

By default cPanel automatically redirects requests to HTTPS using the closest matching hostname when accessing cPanel services. To disable this functionality, some changes must be made to the Tweak Settings interface.

 

Procedure

  1. Navigate to "WHM / Tweak Settings"
  2. Scroll down to the Redirection section
  3. Turn off "Choose the closest matched domain for which that the system has a valid certificate when redirecting from non-SSL to SSL URLs. Formerly known as "Always redirect to SSL/TLS."
  4. After enabling this option,  Non-SSL redirect destination and SSL redirect destination are available.
  5. Change both SSL redirect destination, and Non-SSL redirect destination to Origin Domain Name.
    Set "Logout redirection URL" to "No redirection default"

Was this answer helpful?

« Back

Join us on Telegram channel

Telegram

Send Message