Solved

DirectAdmin: Move domain from user to another

Posted on 2013-10-23
8
977 Views
Last Modified: 2013-10-24
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
Comment
Question by:peps03
  • 5
  • 3
8 Comments
 

Author Comment

by:peps03
ID: 39596479
How do i run this script?

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

Please help!
0
 
LVL 34

Expert Comment

by:Duncan Roe
ID: 39596630
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
 

Author Comment

by:peps03
ID: 39596833
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
Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

 

Author Comment

by:peps03
ID: 39596877
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
 
LVL 34

Accepted Solution

by:
Duncan Roe earned 500 total points
ID: 39596941
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
 
LVL 34

Expert Comment

by:Duncan Roe
ID: 39596945
If there's a desktop icon, you get an already logged-in session.
0
 

Author Comment

by:peps03
ID: 39596959
forgot this line:
cd /usr/local/directadmin/scripts

worked
0
 

Author Closing Comment

by:peps03
ID: 39596961
thanks!
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This article explores the design of a cache system that can improve the performance of a web site or web application.  The assumption is that the web site has many more “read” operations than “write” operations (this is commonly the ca…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question