possible to disable domain.com/cpanel for client?

esultanzada

Active Member
May 8, 2013
29
0
1
cPanel Access Level
Root Administrator
Hi,
one of my clients request to disable www.domain.com/cpanel redirect, he doesnt want that people can access to this link and know that his website using cpanel and etc..
he is using cloudflare, is it possible that disable /cpanel, /webmail for its domain?
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,261
463
It's not possible through any native features. You would have to modify the individual virtualhosts per the documentation here:

Modify Virtualhost Containers With Include Files

You may need to consult with a developer or system administrator if you are not comfortable using these instructions or if you are unsure which entries to use.

Thank you.
 

esultanzada

Active Member
May 8, 2013
29
0
1
cPanel Access Level
Root Administrator
It's not possible through any native features. You would have to modify the individual virtualhosts per the documentation here:

Modify Virtualhost Containers With Include Files

You may need to consult with a developer or system administrator if you are not comfortable using these instructions or if you are unsure which entries to use.

Thank you.
Does cpanel support do it for me if i open a ticket?
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,261
463
Hello,

Customizations to that extent fall outside our scope of support. Have you considered creating a subdomain within cPanel for "cpanel", which automatically creates the "/cpanel" subdirectory by default?

Thank you.
 

esultanzada

Active Member
May 8, 2013
29
0
1
cPanel Access Level
Root Administrator
Hello,

Customizations to that extent fall outside our scope of support. Have you considered creating a subdomain within cPanel for "cpanel", which automatically creates the "/cpanel" subdirectory by default?

Thank you.
i created subdomain for "cpanel". but still its redirect to server, but i also created /whm and /webmail, these two redirect to the path that i want but the /cpanel not work. what should i do ?
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,261
463
Hello,

Did you try clearing your browser cache and refreshing the page? It's seems unlikely that /whm and /webmail would work as intended while /cpanel fails.

Thank you.