by tristanperry · 15y ago · 0 comments
And naturally 64 MB of RAM would NOT be enough for a VPS running cPanel (or any other mainstream server control panel, for that matter).
If the user is happy to use command line though then yes, he can run 18 static sites on a 64 MB VPS.
His post doesn't mention whether he's happy to have a no-control panel VPS though, so this entire blog post (well, the basis for it) does seem to be predicated on a fairly big assumption...
Overall it's a good, informative post though.
I'm not going to try to convince you that you should use a web hosting control panel, but I will point out that millions of people, almost certainly including at least a few people who have more experience than you, disagree with you.
each site gets it's own nginx config file, domain.name.conf (replace domain.name with real domain)
databases get prefixed with the domain name (replace . with _ )
Also, I'm working on a script to handle the DNS zones for me.
Also, I'm working on a script to handle the DNS zones for me.
Yeah, we worked on one of those, too. We called it Webmin (literally, Webmin began as a simple tool for managing and delegating management of DNS records about 14 years ago). And, then we worked on a script to manage virtual hosts, mailboxes, databases, web applications, LDAP, DNS slaves, SVN and git, awstats and Webalizer, resource usage data collection and reporting, user management and delegation to untrusted users, virus and AV scanning, Greylisting, SPF record management, DKIM key management, automated backup and restoration of virtual hosts and all associated data, etc. We called that script (or huge pile of scripts as the case may be) Virtualmin.
Again, I encourage you to work in whatever way you are most comfortable and productive. I manage a few dozen websites, and find having tools to automate much of that process is valuable for me. Millions of users seem to agree that Webmin and/or Virtualmin removes tedium for them, as well. And, I'm sure the same can be said of cPanel users.
Incompetence is not the only reason someone would do something differently than you. Different requirements breed different solutions.
And, then we shared them, so that others wouldn't have to reinvent the wheel and write the same scripts over and over again.