Solved

DirectAdmin: Move domain from user to another

Posted on 2013-10-23
8
1,004 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 35

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
Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

 

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 35

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 35

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

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

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

It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
When it comes to security, close monitoring is a must. According to WhiteHat Security annual report, a substantial number of all web applications are vulnerable always. Monitis offers a new product - fully-featured Website security monitoring and pr…
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.:
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Suggested Courses

615 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