• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1067
  • 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
Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

 
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

Featured Post

Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

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