Hi cPanel Forums,
My company currently internally hosts 60+ PHP internally facing websites in 4 different environments. All of these are subdomains as in foo.internal-company-hosting.net, bar.internal-company-hosting.net, baz.internal-company-hosting.net.
And as we are in the process of re-architecting our systems, the company's IT has recently chosen cPanel as an engine/system for several reasons.
However, this leaves me with the job of transitioning from an old standard-ish LAMP stack setup without cPanel to a version using cPanel.
I had some time to play around and found it pretty easy just making a new user for each of these sites, as if we were selling an web-hosting account. It worked pretty seamlessly, but then that would create 60+ new users, meaning developers would need to either maintain another long set of passwords, or have some su/sudo powers just to get around into the sites. Not to mention our previous disk space hosting doesn't easily fit with the default website construction in user subdirectories.
I then tried to find a way to spin off parallel sites under one user, and ran into several smaller hiccups. Which left me with a bit of a sour taste in my mouth.
So, I really have 2 main questions here:
1] is there a way to 'by configuration' or 'by hand' ensure that websites are created under a known mount point /foobar rather than as subdirs under a user.
2] is there an easy way to add/spin off multiple subdomain sites under a single user.
I do have a few more automation style questions, but these are the two big ones.
Thanks,
My company currently internally hosts 60+ PHP internally facing websites in 4 different environments. All of these are subdomains as in foo.internal-company-hosting.net, bar.internal-company-hosting.net, baz.internal-company-hosting.net.
And as we are in the process of re-architecting our systems, the company's IT has recently chosen cPanel as an engine/system for several reasons.
However, this leaves me with the job of transitioning from an old standard-ish LAMP stack setup without cPanel to a version using cPanel.
I had some time to play around and found it pretty easy just making a new user for each of these sites, as if we were selling an web-hosting account. It worked pretty seamlessly, but then that would create 60+ new users, meaning developers would need to either maintain another long set of passwords, or have some su/sudo powers just to get around into the sites. Not to mention our previous disk space hosting doesn't easily fit with the default website construction in user subdirectories.
I then tried to find a way to spin off parallel sites under one user, and ran into several smaller hiccups. Which left me with a bit of a sour taste in my mouth.
So, I really have 2 main questions here:
1] is there a way to 'by configuration' or 'by hand' ensure that websites are created under a known mount point /foobar rather than as subdirs under a user.
2] is there an easy way to add/spin off multiple subdomain sites under a single user.
I do have a few more automation style questions, but these are the two big ones.
Thanks,