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.

Changes in WHM structure?

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

  1. dr1

    dr1 Registered

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

    /home/username/public_html/...

    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

    Joined:
    Feb 7, 2002
    Messages:
    105
    Likes Received:
    0
    Trophy Points:
    16
    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.
     
Loading...

Share This Page