WHM/CPanel redirect IP to hostname disable after new Installation

PROBLEM:


i think WHM installation is finished and when i access my server via its IP:

http://x.x.x.x:2087

im redirected to:

https://host.company.com:2087/

it works only when access IP via httpS

please how to disable this hostname redirect (i dont have access to WHM panel , just SSH access)

Thank you

SOLUTION:

You could manually modify the following entries in /var/cpanel/cpanel.config and then restart cPanel:

alwaysredirecttossl=0
cpredirectssl=SSL Certificate Name
requiressl=1


Thank you.

Post a Comment

0 Comments