Cloud

How to Create Your Own Cloud Hosting Step by Step

Learn how to set up your own cloud hosting from scratch using a VPS, with a control panel, domain, and SSL certificate.

System with various wires managing access to centralized resource of server in data center

Creating your own cloud hosting means renting a virtual server (VPS) from a cloud provider and configuring it to host one or more websites. It's cheaper in the long run than shared hosting plans when you're managing multiple projects, and it gives you full control over the server configuration.

This guide takes you from provisioning a VPS to having a fully operational server with a control panel, HTTPS, and automatic backups.

What Do You Need to Set Up Your Own Cloud Hosting?

You don't need to be an expert sysadmin, but you should be comfortable with a Linux terminal. Before you start, have these ready:

  • A cloud VPS: DigitalOcean, Contabo, Hetzner, Vultr, or any provider with data centers close to your audience.
  • A domain name: for your admin panel and the sites you'll host.
  • An SSH client: your OS terminal or PuTTY on Windows.
  • A control panel (optional but recommended): cPanel/WHM (paid) or HestiaCP (free and open source).
PanelCostBest for
cPanel/WHM~$15 USD/moAgencies and resellers
HestiaCPFreePersonal projects or small agencies
CyberPanelFree / ProServers running OpenLiteSpeed
Plesk~$10 USD/moUsers who prefer a Windows-like interface

Step 1 — Choose and Configure Your VPS

To host 5–10 small WordPress or PHP sites, a VPS with 2 vCPUs, 4 GB of RAM, and 80 GB SSD is enough. Providers like Hetzner or Contabo offer this for $8–$15 USD/month.

Initial server setup

  1. Select Ubuntu 22.04 LTS or AlmaLinux 8/9 as your operating system.
  2. Connect to the server: ssh root@YOUR_SERVER_IP.
  3. Update the system: apt update && apt upgrade -y (Ubuntu) or dnf update -y (AlmaLinux).
  4. Create a non-root user and enable SSH key authentication.
  5. Enable the firewall: ufw allow 22,80,443,2083,2087/tcp && ufw enable.

With the base server ready, the next step is installing the web stack and control panel.

Step 2 — Install a Control Panel

HestiaCP is ideal if you want a free, user-friendly solution. Install it with a single command:

wget https://raw.githubusercontent.com/hestiacp/hestiacp/release/install/hst-install.sh
bash hst-install.sh --apache yes --php yes --mysql yes --exim yes --dovecot yes --clamav no --spamassassin no --ssl_email [email protected] --hostname panel.yourdomain.com

The installer sets up Apache, PHP, MariaDB, and a basic mail server in 10–20 minutes. When it finishes, it displays the panel URL and login credentials.

If you prefer cPanel/WHM

Download and run the official cPanel installer: curl -o latest -L https://securedownloads.cpanel.net/latest && sh latest. The process takes 30–60 minutes and requires an active license to function after installation.

Step 3 — Point a Domain to Your Server

For the sites you host to be reachable on the internet, you need the right DNS records.

  1. In your domain registrar's panel, create an A record for @ and www pointing to your VPS IP address.
  2. If you're using your own nameservers (recommended for resellers), create two NS records: ns1.yourdomain.com and ns2.yourdomain.com, both pointing to the VPS IP.
  3. Wait for DNS propagation (15 minutes to 24 hours).

Once propagated, access the panel at https://panel.yourdomain.com:8083 (HestiaCP) or https://yourdomain.com:2087 (WHM).

Step 4 — Configure SSL and Add Your First Domain

HTTPS is mandatory. Most modern panels include Let's Encrypt for free certificates with automatic renewal.

In HestiaCP

  1. Go to Web > Add Web Domain.
  2. Enter the domain and check Enable SSL with Let's Encrypt.
  3. Save. The certificate is issued in seconds.

In cPanel

  1. Open SSL/TLS Status in the user panel.
  2. Select the domain and click Run AutoSSL.
  3. The Let's Encrypt certificate will be installed automatically.

If you need help setting up a private cloud server for your agency or business, the team at elenlace.com can design and implement the infrastructure tailored to your needs.

Find more infrastructure guides in our cloud hosting section.

Key Takeaways

  • An entry-level VPS (2 vCPU / 4 GB RAM) is enough to host several small projects.
  • HestiaCP is the most complete free option for self-hosted cloud; cPanel makes sense if you're a reseller.
  • Set up the firewall and SSH key authentication before installing any control panel.
  • Let's Encrypt integration in modern panels eliminates SSL certificate costs and management overhead.
  • Use your own nameservers if you plan to resell or manage hosting for clients.

Would you rather have someone configure the server for you? Check out the cloud infrastructure services at elenlace.com and get started without the technical headaches.

FAQ

How much does it cost to create your own cloud hosting?

The main cost is the VPS: between $5 and $20 USD/month depending on resources. If you use HestiaCP or CyberPanel (both free), there's no panel license fee. A domain name adds about $10–$15 USD/year. All in, you can run your own hosting from as little as $6–8 USD/month.

Do I need to know how to code to set up a cloud server?

You don't need to code, but you should be comfortable with basic Linux commands — updating packages, editing text files, reading logs. If you use a panel like HestiaCP, most of the management happens through a graphical interface.

How many sites can I host on my own VPS?

It depends on each site's traffic and resource usage. With 4 GB of RAM and 2 vCPUs, you can comfortably host 5–15 low-to-medium traffic WordPress or PHP sites. For high-traffic projects, consider a larger VPS or a multi-server architecture.

Is self-hosted cloud hosting as secure as managed hosting?

It's as secure as you make it. The advantage of managed providers is automatic updates and incident support. On your own VPS, you're responsible for keeping the system updated, configuring the firewall, and running backups. Using a modern control panel significantly reduces that burden.

Compare providers

Other providers and guides worth comparing:

← All