domain setup - disable

rnetaneli

Verified User
Joined
Apr 2, 2008
Messages
4
:confused: hello,

I have created a new sun domain for a user, and after few days I have found out that the user can change the subdomain name with the “domain setup” functionality, under the user control panel.

Is there is a way to disable this option?
If I assign a sub domain for a user, I don’t want it to change
Thanks in advance
Ron
 
You're an end user on a DirectAdmin server, and you're creating a sub-domain. Assuming this is right, why are you giving another user access to your DA control panel?

I might be missing something here, but if you want to create a subdomain for a user, just go ahead, then create an FTP account that only has access to that subdirectory (subdomains in DA are stored in a subdirectory under public_html with the same name as the subdomain itself).

This way, the user could upload files to his subdomain without needing to have any access to the control panel.
 
You're an end user on a DirectAdmin server, and you're creating a sub-domain. Assuming this is right, why are you giving another user access to your DA control panel?

I might be missing something here, but if you want to create a subdomain for a user, just go ahead, then create an FTP account that only has access to that subdirectory (subdomains in DA are stored in a subdirectory under public_html with the same name as the subdomain itself).

This way, the user could upload files to his subdomain without needing to have any access to the control panel.


Hi,

i'm not an end user, i'm a server admin, and i create new accounts for domains/subdomains, my problem is, when a user login to his account, i don't want him to be able to edit his domain/subdomain name without asking first.
with the “domain setup” functionality he can edit the domain/subdomain name without telling e about it.
this act is irrelvant when he holds the domain, but when i allocate him a subdomain name from my domain, i want to control it..

Ron
 
One way you may be able to do is to create a custom script to check whether the current domain name is a subdomain assgined by you before allowing the domain name change to proceed:

domain_change_pre.sh

you may check the file:

/usr/local/directadmin/scripts/custom/README

for variables you can use on your script
 
Back
Top