How to host and manage your own websites without cPanel or any other alternative ?

sPanel Code Editor

Many of my friends ask me about how I really handle all of my websites without the need of cPanel.

In this post, I will describe how I manage my web apps in a very simple approach.

# What is cPanel ?

cPanel is an online (Linux-based) web hosting control panel that provides a graphical interface and automation tools designed to simplify the process of hosting a website. cPanel is designed to function either as a dedicated server or virtual private server. -- Wikipedia

# Why I don't like cPanel?

Because I like simplicity, so I like to Keep It Simple Stupid.

# What is the environment, do I use?

  • Simple VPS, You can go for Digitalocean or Vultr and select the simple package ($5/month)
  • A Linux-based operating system (Ubuntu LTS).
  • MariaDB as MYSQL replacement.
  • Nginx as a web server and use Its FCGICache.
  • PHP-FPM with OPCache for PHP based websites.
  • Redis to be used for caching for PHP sites.
  • HTTPSify to automatically generate valid SSL Certs based on Let's Encrypt.
  • FileZilla or any SFTP client for uploading or you can install elFinder as a web-based filemanager.
  • PHPMyAdmin as MYSQL GUI Manager.
  • Postfix as send-only SMTP server.
  • Zoho account to handle all my mailboxes.
  • Codiad as a web-based code editor.
  • Cloudflare as DNS manager.

That is all what I really use, there is no secret, just keep it simple as possible.

Based on the above I've created a framework and named it as sPanel (Simple Panel), I may release a script in my free time that automates everything for you for free, just keep tuned.