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.

Popular posts from this blog

How to Delete WHM Mail Queue through SSH sent from a particular sender

how to change witribe wlan password? how to secure your witribe router

SOLVED: WHM/CPANEL Your server does not support the connection encryption type you have specified. Try changing the encryption method