Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How to disable or forbidden site.com/cpanel

Discussion in 'General Discussion' started by Sametto Chan, Oct 31, 2016.

Tags:
  1. Sametto Chan

    Sametto Chan Well-Known Member

    Joined:
    Jun 24, 2016
    Messages:
    260
    Likes Received:
    24
    Trophy Points:
    93
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    I want to be disable or forbidden to this cPanel URL.

    I'm on shared server ultimate 4G
    Apache
    CloudLinux 6.x

    Thanks.
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,659
    Likes Received:
    1,427
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    You can't disable the /cpanel redirect without root access to the server. I recommend reaching out to your web hosting provider to see if they can modify the VirtualHost entry for your domain name in the Apache configuration to disable this redirect rule.

    Thank you.
     
    Samet Chan likes this.
  3. Sametto Chan

    Sametto Chan Well-Known Member

    Joined:
    Jun 24, 2016
    Messages:
    260
    Likes Received:
    24
    Trophy Points:
    93
    cPanel Access Level:
    Root Administrator
    Twitter:
    I have access SFTP and FTP.

    Shared server it's from NameCheap.

    I can edit in .htaccess rule forbidden to /cpanel?
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,659
    Likes Received:
    1,427
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    The global ScriptAliasMatch entries will override that .htaccess entry. There's a thread here to explain how to modify the behavior if you have root access:

    I want /webmail gone!

    You could reach out to your hosting provider to have them update the VirtualHost entry for the specific domain name.

    Thank you.
     
    Samet Chan likes this.
  5. Sametto Chan

    Sametto Chan Well-Known Member

    Joined:
    Jun 24, 2016
    Messages:
    260
    Likes Received:
    24
    Trophy Points:
    93
    cPanel Access Level:
    Root Administrator
    Twitter:
    I don't have folder conf.
    [​IMG]
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,659
    Likes Received:
    1,427
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    The referenced thread was provided so you could send it to your hosting provider when requesting a change to your specific VirtualHost entry. This is change your hosting provider would have to make.

    Thank you.
     
Loading...

Share This Page