• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1080
  • Last Modified:

DirectAdmin: Move domain from user to another

Hi,

I have a DirectAdmin user with multiple domains. I would like to move one of these domains to another user. How should i do this?

I came across this page: http://help.directadmin.com/item.php?id=58

But i don't know how i need to run the script:
./move_domain.sh domain.com olduser newuser

Where / how do i do that?

Thanks!
0
peps03
Asked:
peps03
  • 5
  • 3
1 Solution
 
peps03Author Commented:
How do i run this script?

cd /usr/local/directadmin/scripts
./move_domain.sh domain.com olduser newuser

Please help!
0
 
Duncan RoeSoftware DeveloperCommented:
You do it in a command window (Terminal, xterm or whatever). Substitute your actual user names for olduser and newuser. Or have you tried that and it hasn't worked?
0
 
peps03Author Commented:
Thanks for your reply. Would that be with the vps console?

Haven't tried it yet. Don't fully understand the procedures.

I open the vps console, login with user root?
Then what do i type?

First:
cd /usr/local/directadmin/scripts
<enter>
than:
./move_domain.sh domain.com olduser newuser [replace these values]
<enter>

like this?
0
Easily Design & Build Your Next Website

Squarespace’s all-in-one platform gives you everything you need to express yourself creatively online, whether it is with a domain, website, or online store. Get started with your free trial today, and when ready, take 10% off your first purchase with offer code 'EXPERTS'.

 
peps03Author Commented:
can i execute this when i connect via ssh to the vps? like with PuTTY?

i tried that anyway, it says:
-bash: ./move_domain.sh: no such file or dorectory
0
 
Duncan RoeSoftware DeveloperCommented:
There should be an icon on your desktop to get a command session. It will probably be an icon of a CRT screen or similar. But you can use PuTTY.
Did cd /usr/local/directadmin/scripts succeed? If the script is not there, I guess you're out of luck. You could do an ls *.sh to see if there's something similar. Or just simply ls
0
 
Duncan RoeSoftware DeveloperCommented:
If there's a desktop icon, you get an already logged-in session.
0
 
peps03Author Commented:
forgot this line:
cd /usr/local/directadmin/scripts

worked
0
 
peps03Author Commented:
thanks!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get 10% Off Your First Squarespace Website

Ready to showcase your work, publish content or promote your business online? With Squarespace’s award-winning templates and 24/7 customer service, getting started is simple. Head to Squarespace.com and use offer code ‘EXPERTS’ to get 10% off your first purchase.

  • 5
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now