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!

Changes in WHM structure?

Discussion in 'General Discussion' started by dr1, Jan 17, 2004.

  1. dr1

    dr1 Registered

    Dec 20, 2003
    Likes Received:
    Trophy Points:
    Right now when you add a new account in WHM, the structure is as follows:


    How can the username be changed to show the domain name?

    Is it just a case of changing the httpd.conf

    DocumentRoot /home/username/public_html
    ScriptAlias /cgi-bin/ /home/username/public_html/cgi-bin/

    I'm assuming it's not this easy :)

    This is a very handy mod if you have 50-60 domain names.
    It makes life a lot easier when you need to change something a particular domain.
  2. TheVoice

    TheVoice Well-Known Member

    Feb 7, 2002
    Likes Received:
    Trophy Points:
    This would be impossible without extensive editing of cpanel itself. Since all cpanel scripts are based on using the usernames of accounts you could have some difficulty. For isntance, some mysql and linux versions have difficulty with username's over 8 characters. Having full domains as usernames would be a mess.

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice