How to disable redirecting cPanel to Hostname

Dec 27, 2019
10
0
1
doubai
cPanel Access Level
Root Administrator
my WHM hostname is cpanel.example.com. i created an account for on of my domains: "test.net"
when my client is going to enter his cpanel with his domain address (test.net:2083), this address redirect to main server hostname (cpanel.example.com:2083)

how can i disable this redirect so that cpanel of each account be loaded on its own domain?

for example :
test.net:2083
site.org:2083
arya.com:2083
 

kodeslogic

Well-Known Member
PartnerNOC
Apr 26, 2020
562
259
138
IN
cPanel Access Level
Root Administrator
Navigate to WHM > Server Configuration > Tweak Settings > Redirection

1. 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”Off

2. Non-SSL redirect destinationOrigin Domain Name

3. SSL redirect destinationOrigin Domain Name
 
Dec 27, 2019
10
0
1
doubai
cPanel Access Level
Root Administrator
Thanks for your great help and support
I did all things said in above.

The problem is that when i use domain:port (test:2083) , it redirects to WHM hostname (cpanel.example.com:2083) , but when i enter domain/cpanel (test.com/cpanel), it displayed below screen and when i click on left option, it redirect to domain:port (test.com:2083)
 

Attachments

antonettablick

Registered
Oct 1, 2020
1
0
0
Ankara
cPanel Access Level
Website Owner
Thanks for your great help and support
I did all things said in above.
The problem is that when i use domain:port (test:2083) , it redirects to WHM hostname (cpanel.example.com:2083) , but when i enter domain/cpanel (test.com/cpanel), it displayed below screen and when i click on left option, it redirect to domain:port (test.com:2083)
your domain was created based on cpanel.example.com and maybe you haven't done the creation so it has returned to your WHM hostname
check it again