SOLVED Can't access cpanel.mydomain.com in the main domain.

Dec 17, 2017
7
1
3
Brazil
cPanel Access Level
Root Administrator
Hello everybody. I'm new here.

Recently i have made one cpanel server on LXC conteiner. Everything is fine.


But, in the initial configuration of the WHM/cPanel, the hostname of the machine was:
cpanel.example.com.br

example.com.br

After some time, i've read in the documentation that is bad ideia:
Change Hostname - Version 68 Documentation - cPanel Documentation

"Do not choose a potential proxy subdomain as a hostname (for example, cpanel.example.com or whm.example.com)."

But now is too late =/

I already have made the modification on my server.
The hostname now is server.example.com.br

But, i have one problem:
I can access whm.example.com.br
I can access webmail.example.com.br

but i can't access cpanel.example.com.br without enter the HTTPS.

If i acess cpanel.example.com.br this page appears:

/i.imgur.com/yQFWQiF.png


Someone can help me with that?
 
Last edited by a moderator:

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,222
463
Hello,

To confirm, have you setup a cPanel account for "example.com.br" on this system? If so, try rebuilding the Apache configuration file with the following command:

Code:
/scripts/rebuildhttpdconf
Also, ensure you have cleared the browser cache on the web browser you are testing access with.

Thank you.
 
  • Like
Reactions: Guilherme Derze