Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Before anything I should acknowledge that my question was not understandable enough. So I totally edited that

I have a VPS with DirectAdmin control panel.

One of my users had registered with Now he had decided to change his domain. That's all he is going to do. NO files, databases, username, email accounts are changed. The only change is the with the domain name.

Is there a way to change an account's primary domain name in DirectAdmin?

share|improve this question

closed as off-topic by HopelessN00b Apr 9 '15 at 14:27

  • This question does not appear to be about server, networking, or related infrastructure administration within the scope defined in the help center.
If this question can be reworded to fit the rules in the help center, please edit the question.

up vote 2 down vote accepted

I would expect to work.

share|improve this answer
The account doesn't want to stay with He wants to move to a new domain but without losing any data or settings. In fact, the account only wants to change its domain. Nothing else. – smhnaji Jan 29 '12 at 20:43
That's what the command CHANGE_DOMAIN does, it changes the domain. It changed the domain you give it to a domain it will ask you for. You need to be logged into DA as the user that owns domain1. DA will prompt you to give it the domain name you want to change it to. It will then adjust the DNS and apache confs renaming domain 1 to whatever domain2 you provide to it. – navaho Jan 30 '12 at 5:02
Yes, thank you. And here's the HowTo using DirectAdmin interface: 1. Login as owner of the account, not as admin. 2. Go to Domain Setup 4. Go to Change a Domain Name 3. Simply enter the new domain name in the text box and submit the Change button :) – smhnaji Jan 30 '12 at 18:13
JUST as an FYI for anyone reading this at a later date, "Go to Change a Domain name" does not always appear as a linked option to the user. That depends upon the DA skin you you have assigned to them. Earlier versions of the default skin did not, some of the simpler skins available don't. The url CMD_CHANGE_DOMAIN should always work regardless of what skin you are using and of course as an admin you can always temporarily assign the "power user" skin to the user that needs to make a domain name change. – navaho Jan 30 '12 at 21:27

Not the answer you're looking for? Browse other questions tagged or ask your own question.