'How whm (Web Host Manager) + Cpanel seperates cpanel account per user?

What does WHM (Web Hosting Manager/Cpanel) do internally when you signup for a new cpanel hosting account?

Does it create a seperate user account on linux os running on hosting hardware pc. or does it do something different?

The picture is not clear to me, I want to create my own hosting manager similar to hostgator and namecheap stellar hosting plans. could you please list reference to some resources or videos which would be helpful in the the provided context.

Current Requirement

  • Manually try to repeat the process of WHM to setup cpanel for different users and understand in depth how hosting providers are able to host millions of apps and distribute storage to them.

Ultimate Goal

  • Host 1000+ Node.JS apps on bare metal computer machines (I have 10+ laptops with i7 Processor and 32GB RAM)
  • Load balancing NodeJS app on multiple system in the cluster.
  • Providing Storage to applications and easy to use control panel for the user similar to cpanel.
  • Sell hosting services to users similar to Heroku and Namecheap Hosting.
  • Efficient management of hardware resources.

Similar Solutions

  • Heroku
  • Namecheap Stellar Hosting plan and other hosting plans.


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source