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.

Account Modification

Discussion in 'General Discussion' started by LinuxFreaky, Feb 7, 2002.

  1. LinuxFreaky

    LinuxFreaky Well-Known Member

    Joined:
    Sep 22, 2001
    Messages:
    87
    Likes Received:
    0
    Trophy Points:
    6
    A customer upgraded to a higher plan, which includes a dedicated IP address, more space, and more bandwidth. However, when I tried modifying the account I didn't see these choices. Do I have to modify them manually? If so what do I need to edit?

    Also, I have tried changing a user's username, with no results either, as the WHM told me it's not implemented yet. How do I do this manually then?
     
  2. Brian Farkas

    Brian Farkas Well-Known Member

    Joined:
    Aug 12, 2001
    Messages:
    81
    Likes Received:
    0
    Trophy Points:
    6
    For the space/bandwidth, you can use the &Quota modification& and limit bandwidth usage features in WHM.

    To change the IP from a name based to a static IP requires a bit of manual effort:

    --Edit httpd.conf entry for domain.com---
    1. SSH to server as root
    2. vi /etc/httpd/conf/httpd.conf
    3. Locate user's domain by typing &/username& or &/domain.com&
    4. Delete the &#NameVirtualHost 123.456.789.000:80& before the entry
    5. Change the IP address in the virtual host entry from & VirtualHost 123.456.789.000&
    to & VirtualHost THEIR-IP-ADDRESS&
    (delete the spaces in front of VirtualHost- had to add them to make it display correctly)
    6. Check in WHM to find a free IP address for the above step
    7. Delete the ServerAlias line
    8. Quit and save changes by typing &:wq&
    9. Go into WHM and reload HTTP/Web Server (Apache) -- at the very bottom of the left bar

    --EDIT ZONE FILE
    1. vi /var/named/domain.com.db
    2. Change this line: domain.com. 14400 IN A 209.123.169.204 to
    domain.com. 14400 IN A THEIR-IP-ADDRESS
    3. *CHANGE THE SERIAL NUMBER FOR THE ZONE FILE*
    4. reload the domain's zone file by typing:
    ndc reload domain.com
    AND THEN
    ndc reconfig domain.com

    --EDIT IP FILE
    1. vi /etc/domainips
    2. Add entry to file in the form of:
    123.456.789.XXX: domain.com
    3. Quit and save changes

    --EDIT PROFTPD CONFIG FILE
    1. vi /etc/proftpd.conf
    2. Hold page down until you get to the end of the file
    3. Add an entry for the new domain name
     
Loading...

Share This Page