CodeIgniter VPS HostingFast PHP Apps on a Server You Control
CodeIgniter is small and fast, and many business apps and ready-made scripts are built on it. We install PHP-FPM with the extensions CodeIgniter needs, NGINX or Apache and MySQL or MariaDB on a hardened KVM VPS, with HTTPS on your domain; you deploy your app.
Full root & SSH NVMe storage Daily backups Anti-DDoS 99.9% uptime SLA 11 locations
-
Root and SSH access
The spark CLI, Composer and cron.
-
Reserved vCores and RAM
Business apps on resources that are yours.
-
NVMe storage
Fast database queries and file reads.
-
Daily backups
Automatic backup of the previous 24 hours.
Why Run CodeIgniter on a VPS
CodeIgniter runs almost anywhere, but production apps need the right PHP version, the command line and settings that shared hosting does not give you.
-
The PHP version your app needs
CodeIgniter 4 needs a recent PHP release, while older CodeIgniter 3 apps may need an older one. On a VPS you run either, side by side if needed.
-
The spark CLI
Run migrations, seeders, cache clearing and your own commands over SSH.
-
Cron without limits
Schedule invoice runs, reminders and imports as often as your app needs.
-
Reserved resources
Business apps with many daily users get CPU and RAM that are not shared.
How a CodeIgniter App Is Served
A lean PHP stack: the web server points at public/, and only one folder is writable.
Request from a browser or app (HTTPS)
-
Web server
NGINX or Apache
Document root set to public/ (CodeIgniter 4), with requests routed to index.php.
-
PHP runtime
PHP-FPM + OPcache
With the intl and mbstring extensions CodeIgniter 4 requires.
-
Application
CodeIgniter
CI_ENVIRONMENT set to production, with writable/ the only writable folder.
-
Database
MySQL or MariaDB
On localhost; PostgreSQL and SQLite are supported too.
-
CLI
spark + Composer
Migrations, commands and dependencies.
Worth knowing
- Point the web root at public/ so app/, writable/ and .env stay outside it.
- Set CI_ENVIRONMENT = production so errors are logged, not shown to visitors.
- CodeIgniter 3 keeps index.php in the project root; application/ and system/ must not be reachable by URL.
- Check which PHP versions your CodeIgniter 3 app supports before upgrading PHP.
What You Can Run
-
Business apps and CRMs
Many CRM, billing and HR apps are built on CodeIgniter.
-
REST APIs
Lightweight back ends for web and mobile apps.
-
Admin panels and dashboards
Internal tools for your team.
-
Management systems
School, clinic, inventory and POS systems.
-
Older CodeIgniter 3 apps
Kept running on the PHP version they support.
-
Several client apps
Separate virtual hosts and databases on one server.
VPS Plans for CodeIgniter
CodeIgniter is light: VPS-1 runs most apps. Choose VPS-2 for busy business apps or several apps on one server.
VPS-1
Small websites, APIs, bots and development servers.
- 2 vCores
- 4 GB RAM
- 40 GB NVMe
- 500 Mbps
- Full root and SSH access
- Free initial stack installation
- Server hardening and firewall setup
- Daily backup of the previous 24 hours
- Unlimited traffic *
- Anti-DDoS protection
- Dedicated IPv4 and IPv6
- KVM virtualisation
VPS-2
Production apps, WordPress and online stores.
- 4 vCores
- 8 GB RAM
- 75 GB NVMe
- 1 Gbps
- Full root and SSH access
- Free initial stack installation
- Server hardening and firewall setup
- Daily backup of the previous 24 hours
- Unlimited traffic *
- Anti-DDoS protection
- Dedicated IPv4 and IPv6
- KVM virtualisation
VPS-3
Busy stores, SaaS products and several projects.
- 6 vCores
- 12 GB RAM
- 100 GB NVMe
- 2 Gbps
- Full root and SSH access
- Free initial stack installation
- Server hardening and firewall setup
- Daily backup of the previous 24 hours
- Unlimited traffic *
- Anti-DDoS protection
- Dedicated IPv4 and IPv6
- KVM virtualisation
VPS-4
High-traffic apps, large databases and agencies.
- 8 vCores
- 24 GB RAM
- 200 GB NVMe
- 3 Gbps
- Full root and SSH access
- Free initial stack installation
- Server hardening and firewall setup
- Daily backup of the previous 24 hours
- Unlimited traffic *
- Anti-DDoS protection
- Dedicated IPv4 and IPv6
- KVM virtualisation
* Unlimited traffic in Europe and North America. In Mumbai, Singapore and Sydney a monthly allowance applies (VPS-1 500 GB, VPS-2/VPS-3 1 TB, VPS-4 3 TB), then speed is limited to 10 Mbps until the next month.
Which Plan for Your CodeIgniter App
CodeIgniter adds little overhead; PHP workers, the database and cron jobs decide the plan.
| Workload | Start with | Why |
|---|---|---|
| One app or API | VPS-1 2 vCores · 4 GB RAM | PHP-FPM, the web server and MariaDB with room to spare. |
| Busy business app | VPS-2 4 vCores · 8 GB RAM | More PHP workers and database memory. |
| Several apps | VPS-3 6 vCores · 12 GB RAM | 6 vCores and 12 GB RAM. |
| Large database or many apps | VPS-4 8 vCores · 24 GB RAM | 24 GB RAM and 200 GB NVMe. |
A starting point, not a limit: every plan upgrades in place, keeping your data, IP address and configuration.
CodeIgniter on Shared Hosting or a VPS?
Simple apps run fine on shared hosting. Business apps need the right PHP, the CLI and their own resources.
| Feature | Shared hosting | CodeIgniter VPS |
|---|---|---|
| PHP version and extensions | The host's selection | Your choice, several side by side |
| spark CLI and SSH | Limited or none | Full |
| Cron jobs | Often limited in frequency | As often as you need |
| Resources at peak times | Shared | Reserved |
| Server administration | Done by the host | Yours, after our free setup |
| Best for | Small sites | Business apps and APIs |
| Explore Shared hosting | See Plans |
Deploying a CodeIgniter 4 App
A typical deploy over SSH into the server we set up.
-
Get the code
Pull your changes and install production dependencies.
-
Set production mode
In .env, set CI_ENVIRONMENT = production and your database details.
-
Run migrations
Applies database changes.
-
Clear the cache
So new code and config take effect.
# 1. Get the code
cd /var/www/app && git pull
composer install --no-dev --optimize-autoloader
# 2. Set production mode
nano .env
# 3. Run migrations
php spark migrate
# 4. Clear the cache
php spark cache:clear
Example commands; adjust names, paths and versions to your project. Deploying and maintaining your application is yours to do (or ask us for a quote).
Installed and Secured Before You Log In
The VPS is unmanaged: after handover the server is yours to run. Before that, our engineers do the first setup once, free, so you start from a hardened server with CodeIgniter in place.
-
Choose a plan and location
Pick the resources you need and the datacentre closest to your users.
-
Tell us your CodeIgniter setup
Versions, database and domain: at order or right after.
-
We install and secure it
Server hardened, CodeIgniter installed and tested, HTTPS on your domain.
-
You take over with root
SSH access to a working server, ready for your code and data.
Your CodeIgniter stack
- NGINX or Apache configured for public/ (or the project root for CodeIgniter 3)
- PHP-FPM in the version your app needs, with intl, mbstring and OPcache
- Composer
- MySQL or MariaDB with a database and user for your app
- HTTPS with Let's Encrypt on your domain
Yours to run after handover
- Ongoing server administration
- Application maintenance and updates
- Debugging your code
- Migrating existing sites or data
Not included in the free setup, but we can quote for it. No control panel by default: CloudPanel, HestiaCP or Virtualmin on request at no cost; cPanel and Plesk need their own licence.
Platform Specs and Locations
The same KVM platform on every plan; only the CPU, RAM, storage and port speed change.
| Virtualisation | KVM with reserved vCores and RAM |
|---|---|
| Storage | NVMe SSD on every plan |
| Network | Dedicated IPv4 and IPv6, 500 Mbps to 3 Gbps per plan |
| Operating systems | Ubuntu 26.04, 24.04 and 22.04 LTS · Debian 13, 12 and 11 · AlmaLinux · Rocky Linux · Fedora · FreeBSD |
| Access | Full root over SSH, key-based login |
| Backups | Automatic daily backup of the previous 24 hours; snapshots and longer retention on request |
| Protection | Always-on anti-DDoS mitigation |
| Availability | 99.9% uptime SLA |
Secured before we hand it over
- Non-root sudo user created for daily work
- SSH key login, password login for root disabled
- Firewall (UFW) open only for the ports you use
- Fail2ban blocking repeated login attempts
- Automatic security updates enabled
- Free Let's Encrypt SSL on your domain
- Timezone, swap and hostname configured
Asia-Pacific
- Mumbai
- Singapore
- Sydney
Europe
- London
- Limburg
- Roubaix
- Gravelines
- Strasbourg
- Milan
- Warsaw
North America
- Beauharnois
Availability per location changes with demand; we confirm your location before setup. In Mumbai, Singapore and Sydney each plan includes a monthly traffic allowance (VPS-1 500 GB, VPS-2 and VPS-3 1 TB, VPS-4 3 TB); beyond it, speed is limited to 10 Mbps until the next month.
Who a CodeIgniter VPS Suits
-
CodeIgniter developers
Git, Composer and spark on a server you control.
-
Businesses running CodeIgniter apps
CRMs, billing and management systems that need a proper server.
-
Agencies
Client apps on separate virtual hosts.
Security and Performance for CodeIgniter
Security
- Keep .env and app/ outside the web root.
- Turn on CSRF protection and escape output.
- Keep CodeIgniter and Composer packages updated; CodeIgniter 3 gets few updates, so plan an upgrade.
- Make only writable/ writable by PHP.
Performance
- Enable OPcache.
- Use CodeIgniter's page or query caching where the data allows.
- Index the database columns your queries filter on.
- Run heavy jobs from cron, not during page requests.
Questions Before You Deploy
Not covered here? Ask an engineer before you order.
Run CodeIgniter on Your Own Server
Choose a plan and tell us your PHP version. We hand over the server with PHP-FPM, your database and HTTPS ready.