Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Mar 2004
    Posts
    2

    Default Changing Default CPanel URL?

    Does anyone know if it's possible to change the URL of CPanel? I'd like to change it
    from: http://domain.com/cpanel
    to: http://domain.com/cpaneladmin

    Also, is it possible to change the port?
    from: http://domain.com:208#
    to: http://domain.com:20##

  2. #2
    Member
    Join Date
    Mar 2005
    Posts
    75

    Default

    add another scritpalias to httpd.conf

    ScriptAlias /cpaneladmin /usr/local/cpanel/cgi-sys/redirect.cgi

    as for the port i dont know

  3. #3
    Member
    Join Date
    Jan 2005
    Posts
    1,880

    Default

    The settings for having http://example.com/cpanel redirect to http(s)://example.com:208X are present in the main Apache configuration - /usr/local/apache/conf/httpd.conf - the settings related to /cpanel, /whm and /webmail are all grouped together so they should be easy enough to spot.

    Concerning the port, I don't believe it can be changed due to it being hard-coded into cPanel's bits and pieces.

  4. #4
    Registered User
    Join Date
    Mar 2004
    Posts
    2

    Default

    Quote Originally Posted by webignition
    The settings for having http://example.com/cpanel redirect to http(s)://example.com:208X are present in the main Apache configuration - /usr/local/apache/conf/httpd.conf - the settings related to /cpanel, /whm and /webmail are all grouped together so they should be easy enough to spot.

    Concerning the port, I don't believe it can be changed due to it being hard-coded into cPanel's bits and pieces.

    Thanks both of you for the information.

    I just asked because I have two websites that show up as different ports when I log into their CPanels.

    Thanks again for pointing me in the right direction

  5. #5
    Registered User
    Join Date
    Aug 2006
    Posts
    1

    Default

    Look in /usr/local/cpanel/etc/ports

Similar Threads & Tags
Similar threads

  1. Changing cPanel URL?
    By 117 in forum Security
    Replies: 3
    Last Post: 12-03-2010, 05:10 PM
  2. Changing default whm and cpanel address
    By leader716 in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 12-03-2010, 02:09 AM
  3. Changing the URL question re Joomla
    By evolveweb in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 02-20-2009, 05:12 AM
  4. redirect to another domain without the url changing
    By SetLar8 in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 03-20-2007, 12:01 PM
  5. Changing cpanel default language?
    By cix in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 10-17-2006, 12:39 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube