Current time: 12-23-2024, 01:23 AM Hello There, Guest! (LoginRegister)


Post Reply 
migrate a domain from one account to another ispCP account
Author Message
r3r3 Offline
Junior Member
*

Posts: 20
Joined: Dec 2008
Reputation: 0
Post: #1
migrate a domain from one account to another ispCP account
hello,

hey i have my main ispCP account, in this main account i have two domains/vhost (the main domain and a secondary) i am willing to move the secondary domain to its own ispcp account (on the same server/ispcp)

How should i proceed to keep all the emails for this domain? Because when i want to delete a domain it ask me to remove the mail account first.

What would be the best way do do that?
05-04-2009 04:13 AM
Find all posts by this user Quote this message in a reply
pgentoo Offline
Member
*****
Dev Team

Posts: 326
Joined: Mar 2007
Reputation: 0
Post: #2
RE: migrate a domain from one account to another ispCP account
There is not currently an easy way to do this.

We should definately support this going forward though...

At minumum, we need to do the following, but i'm sure there is more to be done...
- create the new account in the db
- update the domain information in the database to assign it to the new account
- force the system to setup the new user/location (should rebuild apache's ispcp.conf, create the /var/www/fcgi/domain.com files, create home directory with proper ownership, etc)
- Move the old domain files into the new folder, set file ownerships, permisssions
- missing anything?

Hopefully someone has some time to write some scripts to automate the move. Smile

-
pgentoo
05-04-2009 07:34 AM
Find all posts by this user Quote this message in a reply
r3r3 Offline
Junior Member
*

Posts: 20
Joined: Dec 2008
Reputation: 0
Post: #3
RE: migrate a domain from one account to another ispCP account
Thank you for your imput pgentoo

or maybe it would be easier just to backup the emails/website/db, delelte the email accounts, delete the vhost, create a new account with the domain, recreate the email accounts and restore the emails?

This sound easier to me but if anyone has a better idea.. or aybe someone has done it already? please feel free to share (:
(This post was last modified: 05-04-2009 07:59 AM by r3r3.)
05-04-2009 07:54 AM
Find all posts by this user Quote this message in a reply
pgentoo Offline
Member
*****
Dev Team

Posts: 326
Joined: Mar 2007
Reputation: 0
Post: #4
RE: migrate a domain from one account to another ispCP account
Yeah, for now, i would say it would be easiest to do what you suggested... Backup everything, delete, re-add, restore.

It would still be nice to have an easy way for an admin/reseller to move domains between accounts. Hopefully someone provides a script/patch to do this in the future. Smile
05-04-2009 08:11 AM
Find all posts by this user Quote this message in a reply
r3r3 Offline
Junior Member
*

Posts: 20
Joined: Dec 2008
Reputation: 0
Post: #5
RE: migrate a domain from one account to another ispCP account
that would be uber Smile
05-04-2009 08:12 AM
Find all posts by this user Quote this message in a reply
TonyJim Offline
Banned

Posts: 2
Joined: Jan 2010
Post: #6
RE: migrate a domain from one account to another ispCP account
very helpfull indeed
01-23-2010 03:13 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)