Solved

DirectAdmin: Move domain from user to another

Posted on 2013-10-23
8
962 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
 

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
New My Cloud Pro Series - organize everything!

With space to keep virtually everything, the My Cloud Pro Series offers your team the network storage to edit, save and share production files from anywhere with an internet connection. Compatible with both Mac and PC, you're able to protect your content regardless of OS.

 
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

Suggested Solutions

If you've heard about htaccess and it sounds like it does what you want, but you're not sure how it works... well, you're in the right place. Read on. Some Basics #1. It's a file and its filename is .htaccess (yes, with a dot in the front). #…
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 several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

947 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now