Skip to main content

Change user or domain /cpanel /webmail /whm redirection

Comments

5 comments

  • sysdop
    @tui Here you have a tutorial on how to remove the shortcuts (or remove cpanel and whm aliases) or change them for different ones, take into account that it is under your assolute responsibility what you do wrong or with your server. Disable URL Shortcuts to CPANEL, WHM, WEBMAIL on cPanel VPS
    0
  • tui
    Hello @sysdop, thanks for your reply, i already checked the tutorial you point me, but this is at server level, what im looking for is something at account level, something less aggressive, is just for one single account/domain
    0
  • cPanelMichael
    Hello, Do you have root access to this system? If so, you can setup a custom virtual host include file for this specific domain name using the instructions at: Modify Apache Virtual Hosts with Include Files - EasyApache 4 - cPanel Documentation Within the custom include, you'd need to add a custom line like this:
    ScriptAlias /cpanel/ /home/username/public_html/
    Thank you.
    0
  • tui
    Do you have root access to this system?

    Hello, no i do not have root access to this account, any other way to do this without root access?
    0
  • cPanelMichael
    Hello, no i do not have root access to this account, any other way to do this without root access?

    You won't be able to override the aliases configured by default in the Apache configuration without root access. However, you could send a request to your web hosting provider to see if they can setup a custom virtual host entry for your domain name to disable the alias. Thank you.
    0

Please sign in to leave a comment.