Rename domain

id14

Verified User
Joined
Aug 3, 2019
Messages
26
A customer is requesting a domain change, but I'm unable to locate the necessary function in Directadmin under Domain Setup. Despite adding "users_can_rename_domains=1" to directadmin.conf, renaming still seems inaccessible. What am I missing?

renamedomain.png
 
"users_can_rename_domains=1" to directadmin.conf, renaming still seems inaccessible.
Just to be sure, you did restart directadmin after making this change, right?
If you click on the domain name, the option also does not come up?
 
Yes I did restart Directadmin after the modification and when I click on the domain i can only modify Bandwidth etc.
 
Strange. Which version of DA are you running?
Are there any custom changes made? Because you are also missing the options for "Add New" and "Back" option and the "Rename" option is in that same block in the middle.
 
I have DA 1.657 on Centos 7 DirectAdmin legacy codebase. There are no custom changes made. What are the ways to enable and disable "Add New" and "Back" option and the "Rename" in DA?
 
I also have DA 1.657 on one server with Centos 7 legacy codebase. But in my case they are present there by default.
If you temporary set the account to the Enhanced them, will the option appear then?

Because we got it on all servers active by default, even with the setting set to 0 the option itself is visible.
 
That's only one User problem or all Users ?
Did you trying create new User and check it ?
 
Indeed when i change to the Enhanced theme the possibility comes up but when I click it I get:
"You cannot execute that command -Details -
The request you've made cannot be executed because it does not exist in your authority level"
renamedomain2.png

So I figure there must be another place where you can enable/disable change a domain where I disabled it in the past..
Is there besides "users_can_rename_domains=1" other ways to enable/disable this?

@jamgames2
It is with all users.
 
maybe something wrong with your directadmin.conf

try using cli
Code:
da config-set users_can_add_remove_domains 0
da config-set users_can_rename_domains 1 --restart


p.s. "users_can_add_remove_domains", 0=Allow all action, 1=Only Add, 2=Block all action
 
p.s. "users_can_add_remove_domains", 0=Allow all
Oooh oke, that is a very very confusing and inconsequent way of doing things. Due to the setup of the sentence, one would expect the 0 to have it disabled.
But it's indeed like that in the documentation.
 
Oh wait, this is for the other option.

Still does not explain why the users_can_rename_domains setting is not working.

There is another way to disable this:

But if you don't have it in your never_commands it should be enabled.
 
Thanks got it, it was the never_commands. How is the behavior in Directadmin when you rename a domain? Is it the same as in Cpanel where the mail accounts that are already created change to the new domain? [email protected] to [email protected]?
 
Back
Top