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.

Changing Default CPanel URL?

Discussion in 'General Discussion' started by schmeg007, Aug 10, 2006.

  1. schmeg007

    schmeg007 Registered

    Joined:
    Mar 12, 2004
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    151
  2. pross

    pross Well-Known Member

    Joined:
    Mar 14, 2005
    Messages:
    75
    Likes Received:
    0
    Trophy Points:
    156
    add another scritpalias to httpd.conf

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

    as for the port i dont know
     
  3. webignition

    webignition Well-Known Member

    Joined:
    Jan 22, 2005
    Messages:
    1,880
    Likes Received:
    0
    Trophy Points:
    166
    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. schmeg007

    schmeg007 Registered

    Joined:
    Mar 12, 2004
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    151

    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 :D
     
  5. stathyinc

    stathyinc Registered

    Joined:
    Aug 17, 2006
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    151
    Look in /usr/local/cpanel/etc/ports
     
Loading...

Share This Page