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.

Upgrading an account to an IP-based account.

Discussion in 'General Discussion' started by tribby, Apr 24, 2002.

  1. tribby

    tribby Registered

    Joined:
    Apr 7, 2002
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Hi,

    I was wondering how to upgrade a name-based account to an IP-based account. I couldn't seem to find a way to do it with WHM.

    Thanks!
    Jeremy
     
  2. Curt

    Curt Well-Known Member

    Joined:
    Oct 16, 2001
    Messages:
    90
    Likes Received:
    0
    Trophy Points:
    6
    Jeremy,
    There are two ways to do this, one way is to tar up the account &/home/XXXX& in questions outside of the accounts directory, delete the account in WHM , recreate the account as an IP based in WHM then untar the data back in the new IP based site.

    A second solution that I had found in a post a while back is below, I have not tested it but it looks like it is correct.

    ======================================

    Change non-IP to an IP Account

    1. edit httpd.conf and delete the NameVirtualHost line for that domain.

    2. change the IP from the shared to the dedicated.

    3. add the IP to /etc/ips (it may already be there)

    4. go to WHM and add in that IP address. (it may already be there)

    5. Create an entry in proftpd.conf with that IP address and domain name.

    6. Edit DNS for that domain to reflect the new IP address.

    7. Restart proftpd and apache.

    You'll probably want to confirm their zone files reflect the correct
    information, as well.
     
  3. avara

    avara Well-Known Member

    Joined:
    Oct 28, 2001
    Messages:
    90
    Likes Received:
    0
    Trophy Points:
    6
    What about email... No changes to be made there?
     
  4. Curt

    Curt Well-Known Member

    Joined:
    Oct 16, 2001
    Messages:
    90
    Likes Received:
    0
    Trophy Points:
    6
    [quote:38b4746b17][i:38b4746b17]Originally posted by avara[/i:38b4746b17]

    What about email... No changes to be made there?[/quote:38b4746b17]

    Email should be taken care of with the DNS change.
     
  5. cgrey

    cgrey Member

    Joined:
    Mar 16, 2002
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    [quote:eacd1129c9][i:eacd1129c9]Originally posted by Curt[/i:eacd1129c9]

    Jeremy,
    There are two ways to do this, one way is to tar up the account &/home/XXXX& in questions outside of the accounts directory, delete the account in WHM , recreate the account as an IP based in WHM then untar the data back in the new IP based site.

    [/quote:eacd1129c9]

    This wouldn't get their mySQL databases if they have any - when you terminate the account in WHM, it will delete their databases.
     
  6. Curt

    Curt Well-Known Member

    Joined:
    Oct 16, 2001
    Messages:
    90
    Likes Received:
    0
    Trophy Points:
    6
    [quote:ff04c0586f]

    This wouldn't get their mySQL databases if they have any - when you terminate the account in WHM, it will delete their databases.[/quote:ff04c0586f]

    You are correct but if you follow the second option I posted the database's will not be an issue.
     
Loading...

Share This Page