How to Convert Addon Domain to separate DA Account

CAISC

Verified User
Joined
Dec 2, 2021
Messages
87
Location
SSH Terminal
Hello,

I need to convert few Addon Domains to separate DA Account.
If there is some script/tool for the same let me know.

If not then, what will be the ideal way to do it manually.

Thanks
 
I think - /usr/local/directadmin/scripts/move_domain.sh
is to MOVE domain from one account to another.

I want to CONVERT addon domain to a separate account.
 
Assume -

There is an account abc.com with --> addon domain xyz.com
Also there is another seperate account pqr.com

Now, what I understand is this script /usr/local/directadmin/scripts/move_domain.sh
is helpful if I want to move addon domain xyz.com from abc.com to pqr.com

So now pqr.com has addon domain xyz.com (which is moved from abc.com using the script)


What I need -

I want a script/method that can CONVERT addon domain xyz.com to a separate direct admin account.

So result shud be -
abc.com
xyz.com
pqr.com

3 separate DA accounts, having separate username and pasword in direct admin.

Hope I was able to explain it.
Thanks
 
I think this a cpanel thing they are already a separated domains in DA. If you look at the folder structure for a user you will see the Domains all seperated. You just need to move the domain to another user. There is no convert as add-on domain don't exist in DA.

Code:
root@some server:/home/admin# ls
application_backups  backups  cache  domains  imap  Maildir  public_ftp  public_html  storage  tmp  user_backups


Please also notice the NOTE:
NOTE: domain names are not assigned to MySQL databases, so, please use the rename_database_with_user.sh script to transfer needed databases to the new account.
 
Last edited:
I think this a a cpanel thing
Hello Brent,

Yes cpanel offers this feature. Now that We are switching from cpanel to DA, want to explore some important features that are demanded by several our clients.

not sure how to do it. :unsure:
 
They just add a domain in Domain setup. There is no "Addon" feature in DA. Its Domain setup under the User side.

 
not sure how to do it.
This post explains how a Admin Moves a domain

This post explains how users add more domains to the account

provided the package they are assigned to allows multiple domains
 
I want a script/method that can CONVERT addon domain xyz.com to a separate direct admin account.
Yes that is the same command, no difference.
Just create a new account with a test domain. Then use the command from @Zhenyapan to move the addon domain to that newly created seperate account.
Then in the domain setup, set the moved domain as primary domain and delete the test domain which was needed to create the new account.
You have indeed to move the according databases seperately.

It's that simple.
 
Good luck. Someone will be here to help you. Support from 2 contents and 3 countries in this one post. Ukraine, Netherlands and USA. Some say countries cant work together..pfft.
 
Back
Top