Create new sub-server but under different user

3 posts / 0 new
Last post
#1 Wed, 07/14/2010 - 01:30
shinji

Create new sub-server but under different user

I would like to create a sub-server but delegate all access to that sub-server to another user login. Is that possible?

I had done such a setup on my last host but they treated all sub-domains as normal domains. I don't know how they handled dns under the hood.

And that comes the important part. It does look like Virtualmin handles it pretty gracefully when you do a sub-domain as a Virtual Server (not sub-server) but how it going to be an issue that there is a new bind zone for that sub-domain?

P.S. - For the moment (and to minimize downtime to my other user) I manually setup DNS on the main domain dns to point to my old server.

Wed, 07/14/2010 - 09:14
andreychek

Howdy,

Well, here's a few ideas --

One idea would be to create a second admin user for that set of Virtual Servers. However, the admin would have access to all the Virtual Servers and Sub-Servers in that account, not just the one domain.

Another option is that you could create an FTP-only user with access to just the public_html folder of the new domain. However, that user wouldn't have admin access in the control panel.

If you require control panel admin access, and want this user only to have rights to this one domain, the only real way to solve that would be to create a new top-level Virtual Server. Even if your new top-level Virtual Server is simply a sub-domain of another domain on your server, that's no problem, that would work fine.

As far as your BIND question goes -- it's not going to be an issue that there's a new BIND zone. In fact, having that new BIND zone offers a lot of benefits, including a lot more control over the sub-domain.

-Eric

Wed, 07/14/2010 - 16:09
shinji

Cool. That's what I wanted to know. For all intensive purposes they need just upload access but I think you answered the bind part too. Now then for one last question.

The main domain is configured to notify a set of nameservers from my provider of the updates. If I go with the route of creating a new account do I need to duplicate those settings onto the subdomain account in order to continue to update things properly or will it still work as expected?

Update: Just wanted to let you know that I figured an alternate that should work perfectly fine. I setup a new subdomain as a virtual server for them but I removed the dns zone option on them. Once that was done I just added the entries to the zone file for the main domain and that worked just fine.

Topic locked