Upgrading an account to an IP-based account.

tribby

Registered
Apr 7, 2002
4
0
301
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
 

Curt

Well-Known Member
Oct 16, 2001
90
0
306
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.
 

avara

Well-Known Member
Oct 28, 2001
90
0
306
What about email... No changes to be made there?
 

Curt

Well-Known Member
Oct 16, 2001
90
0
306
[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.
 

cgrey

Member
Mar 16, 2002
7
0
301
[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.
 

Curt

Well-Known Member
Oct 16, 2001
90
0
306
[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.