Start with the simplest and move up only when the application asks for it. An application in Node.js, Python, Ruby or PHP runs on shared hosting, with the version picked in cPanel. A VPS becomes necessary when the application needs always-on services, ports of its own, programs the shared plan does not install, or root access. Cloud is for when the application already splits across several machines.
Where each thing runs
| Your application |
Where it fits |
| A PHP site or API (Laravel, CodeIgniter) |
Shared hosting, with the PHP version picked per folder. |
| A Node.js, Python or Ruby application |
Shared hosting, through the cPanel tools “Setup Node.js App”, “Setup Python App” or “Setup Ruby App”. See Node.js in cPanel. |
| A background task that never stops (queue, bot, WebSocket) |
A VPS. A permanent process is not the shared hosting model. |
| Docker, databases the plan does not bring, software of your own |
A VPS or a dedicated server, with root access. |
| Several machines talking (application, database, queue) |
Cloud, with the private network between machines. See VPS vs Cloud. |
How to decide, step by step
| 1 |
List what the application needs to run. Language version, database, background services, ports, memory. The list is in the application’s documentation.
|
|
The question that settles more cases than you would think
Does the application need to be doing things all the time, or does it only answer when someone asks? Those that only answer when asked (a website, an API that receives calls) fit shared hosting. Those that must act on their own, listen, or work through a queue without stopping need a permanent process, and that means a VPS. For tasks at set times, a scheduled job does it on shared hosting: see cron jobs: what they are for and how to create one.
|
Measure before you move up. A slow application may be a badly written query and not a lack of machine. The same slowness comes with you to a bigger server. See what to measure before you change plan.
|
|
Describe the application (language, database, services) and we will tell you whether it fits shared hosting or needs a VPS.
Open a support ticket
|
RECOMMENDED PRODUCT VPS server with root access Resources of your own, the OS you choose, reinstall whenever you like. from $8.40/mo (3-year plan, with coupon) See plans |