This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Move domains between clients
#1
Move domains between clients
Hello, Is it possible to move domains and their websites and emails between clients?

I have a reseller who's customer wants Sentora access to his stuff.

Thanks in advance Smile
Reply
Thanks given by:
#2
RE: Move domains between clients
modpluz just to have a module for this, transfer_domain was it called...
Can not find it anymore.

My Sentora DemoMy GithubAuxio Github
Zentora themeS-Type themeCstyleX theme
flat-color-iconssmall-n-flat-icons

Sentora's development takes way too long, so i'm transitioning to HestiaCP.
Reply
Thanks given by: modcar
#3
RE: Move domains between clients
(09-15-2015, 01:13 AM)Ron-e Wrote: @[modpluz] just to have a module for this, transfer_domain was it called...
Can not find it anymore.

Ron-e, here's the link to the module "http://zpx.imerlabs.com/transfer_domain.zpp"
Remi - Software Engineer,  Sentora Module Developer,  Owner, imerLabs


Please mark threads as SOLVED if your problem has been resolved.
Do not PM Staff Members for help unless asked to do so, this is so that others can benefit from your solution.
Do a SEARCH before asking in the forums, a solution may already exist.
Reply
Thanks given by: Ron-e , modcar
#4
RE: Move domains between clients
(09-15-2015, 04:28 AM)modpluz Wrote:
(09-15-2015, 01:13 AM)Ron-e Wrote: @[modpluz] just to have a module for this, transfer_domain was it called...
Can not find it anymore.

Ron-e, here's the link to the module "http://zpx.imerlabs.com/transfer_domain.zpp"

Sorry for the delay - I didn't get a notification of a reply Sad

The module doesn't work in Sentora, when I click on Transfer Domain, it does nothing
Reply
Thanks given by:
#5
RE: Move domains between clients
(09-15-2015, 04:28 AM)modpluz Wrote:
(09-15-2015, 01:13 AM)Ron-e Wrote: modpluz just to have a module for this, transfer_domain was it called...
Can not find it anymore.

Ron-e, here's the link to the module "http://zpx.imerlabs.com/transfer_domain.zpp"

Hey modpluz - Is it possible for your module to be fixed?
Reply
Thanks given by:
#6
RE: Move domains between clients
I don't believe this module has been made compatible with Sentora yet.
Remi - Software Engineer,  Sentora Module Developer,  Owner, imerLabs


Please mark threads as SOLVED if your problem has been resolved.
Do not PM Staff Members for help unless asked to do so, this is so that others can benefit from your solution.
Do a SEARCH before asking in the forums, a solution may already exist.
Reply
Thanks given by:
#7
RE: Move domains between clients
If anyone wants to do this manually - heres how I did it (replace the CAPITALS with your values)

'Login to PHPmyAdmin as root, 'SQL' tab, select sentora_core database
'Get old userid and dir name

Code:
SELECT vh_acc_fk,vh_directory_vc FROM x_vhosts WHERE vh_name_vc= 'DOMAIN.com'


'Get new userid

Code:
SELECT  ac_id_pk FROM x_accounts WHERE ac_user_vc = "NEW_USERNAME"


'SSH to server, and move files
' Move website files

Code:
mv /var/sentora/hostdata/OLD_USERNAME/public_html/DOMAIN_com /var/sentora/hostdata/NEW_USERNAME/public_html/DOMAIN_com


'Move logs

Code:
mv /var/sentora/logs/domains/OLD_USERNAME/DOMAIN_com-*.log /var/sentora/logs/domains/NEW_USERNAME/


'Using PHPmyAdmin 'SQL' tab, select sentora_core database
'Update vhost

Code:
UPDATE x_vhosts SET vh_acc_fk = 'NEW_USERID' WHERE vh_name_vc = 'DOMAIN.com'


'Update mailbox

Code:
UPDATE x_mailboxes SET mb_acc_fk = 'NEW_USERID' WHERE mb_address_vc like '%@DOMAIN.com'


'Update ftp

Code:
UPDATE x_ftpaccounts SET ft_user_vc = 'NEW_USERID' WHERE ft_directory_fc like '%DIRNAME'


'Update email forwarders

Code:
UPDATE x_forwarders SET fw_acc_fk = 'NEW_USERID' WHERE fw_address_vc like '%@DOMAIN.com'


'Update DNS

Code:
UPDATE x_dns SET dn_acc_fk = 'NEW_USERID' WHERE dn_name_vc = 'DOMAIN.com'


'Update D Lists

Code:
UPDATE x_distlists SET dl_acc_fk = 'NEW_USERID' WHERE dl_address_vc like '%@DOMAIN.com'


'Update Aliases

Code:
UPDATE x_aliases SET al_acc_fk = 'NEW_USERID' WHERE al_address_vc like '%@DOMAIN.com'


' Force apache reload

Code:
UPDATE x_settings SET so_value_tx='true' WHERE so_name_vc='apache_changed'
Reply
Thanks given by: 01generator
#8
RE: Move domains between clients
To fix the module so that it works with Sentora, it is a minor change in two spots.

in the assets/transfer_domain.js file make the following changes:

Line 19:  zPanel.dialog.confirm({
Change zPanel to Sentora

Line 32: okCallback: function() { zPanel.loader.showLoader(); $('#frm_transfer_domain').submit(); }
Change zPanel to Sentora
Reply
Thanks given by:
#9
RE: Move domains between clients
(10-24-2015, 10:26 PM)fairbanksk Wrote: To fix the module so that it works with Sentora, it is a minor change in two spots.

in the assets/transfer_domain.js file make the following changes:

Line 19:  zPanel.dialog.confirm({
Change zPanel to Sentora

Line 32: okCallback: function() { zPanel.loader.showLoader(); $('#frm_transfer_domain').submit(); }
Change zPanel to Sentora

This works like a charm on Sentora 1.0.03 - Centos 6 x64 VPS
Reply
Thanks given by:


Possibly Related Threads…
Thread Author Replies Views Last Post
Postfix relay specific domains to mailjet johnnyp 0 2 ,036 01-29-2021, 04:44 AM
Last Post: johnnyp
Disabling warning and notice logging in /var/sentora/logs/domains/* JSmith 0 2 ,466 01-02-2021, 07:50 PM
Last Post: JSmith
Add on Domains not working but Main domain works luckyviet 2 5 ,500 03-18-2020, 07:38 PM
Last Post: AanaNahum

Forum Jump:


Users browsing this thread: 1 Guest(s)