HomeCommunity & Content › Step‑by‑Step Guide to Installing MyBB on a Cloud Server

Step‑by‑Step Guide to Installing MyBB on a Cloud Server

Updated 2026-07-21 · Hosting Reviews

Hosting Reviews is reader-supported. This page contains affiliate links to Hostinger; we may earn a commission if you sign up through them — at no extra cost to you.

Choosing the Right Hosting for a Forum & Community Site

Before you dive into the installation, decide what kind of hosting fits your community’s size and growth plans. Shared hosting is cheap ($3‑$8/month) but limits resources and can slow down when traffic spikes. VPS or cloud servers ($10‑$30/month) give you full control, better performance, and easy scaling—ideal for a forum that may grow rapidly. Hostinger offers cloud plans starting around $10/month, with SSD storage, free SSL, and a simple control panel, making it a solid choice for beginners and small businesses.

Domain, Platform, and Software Checklist

Step‑by‑Step: Install MyBB on a Cloud Server

  1. Launch your cloud server – Log into Hostinger’s control panel, choose a Cloud plan, and create a new instance. Select a region close to your target audience for lower latency.
  2. Secure SSH access – Generate an SSH key pair locally, then add the public key in Hostinger’s SSH key manager. Disable password login for added security.
  3. Connect and update the system – SSH into the server:
    ssh root@your‑ip-address
    sudo apt update && sudo apt upgrade -y
    
  4. Install LEMP stack – Hostinger’s cloud images usually come pre‑installed, but verify:
    sudo apt install nginx php-fpm mariadb-server -y
    sudo systemctl enable nginx php-fpm
    
  5. Create a MySQL database – Log into MariaDB:
    sudo mysql
    CREATE DATABASE mybb CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
    CREATE USER 'mybbuser'@'localhost' IDENTIFIED BY 'StrongPass123!';
    GRANT ALL PRIVILEGES ON mybb.* TO 'mybbuser'@'localhost';
    FLUSH PRIVILEGES;
    EXIT;
    
  6. Upload MyBB files – Use SFTP or scp to transfer the MyBB zip to /var/www/html and extract it:
    cd /var/www/html
    unzip mybb-1.8.x.zip
    chmod -R 755 mybb
    
  7. Configure Nginx – Create a server block for your domain:
    sudo nano /etc/nginx/sites-available/yourdomain.com
    # Add server config (see Hostinger docs for syntax)
    
    Link it and reload:
    sudo ln -s /etc/nginx/sites-available/yourdomain.com /etc/nginx/sites-enabled/
    sudo nginx -t
    sudo systemctl reload nginx
    
  8. Run the MyBB installer – Open a browser to http://yourdomain.com. The MyBB installer will guide you through:
    • Database settings – enter the DB name, user, and password you created.
    • Admin account – choose a strong password and email.
    • Site settings – set the forum title, time zone, and basic options.
    Click Finish installation and delete the install folder for security.
  9. Activate SSL – Hostinger provides free Let’s Encrypt SSL. In the control panel, enable SSL for your domain and add the following to your Nginx config:
    listen 443 ssl;
    ssl_certificate /etc/letsencrypt/live/yourdomain.com/fullchain.pem;
    ssl_certificate_key /etc/letsencrypt/live/yourdomain.com/privkey.pem;
    
    Reload Nginx and verify the site is secure.
  10. Set up backups and monitoring – Use Hostinger’s backup feature or schedule cron jobs to dump the MyBB database. Enable fail2ban or UFW to protect against brute‑force attempts.

Speed, Security, and Scaling Tips

Cost Overview for a Forum on Hostinger

Typical monthly ranges: $10‑$15 for a basic cloud server with 2 GB RAM, 1 TB SSD, and 20 GB bandwidth. Add a domain ($0.99‑$12/yr) and optional CDN or backup services, and you stay well below $30/month. Renewal rates may rise, so lock in introductory pricing if you plan to stay long term.

Deal alert
Get Forum & Community Site online
Build an online community or forum — the hosting that handles traffic plus the software to run discussions and groups.
Build Your Community on Hostinger →

FAQ

Can I host MyBB on a shared plan?

Yes, but shared plans often lack the PHP memory limits and database size needed for larger forums. Shared hosting is fine for a small community, but you’ll hit performance limits quickly as members grow.

What if my forum gets a sudden traffic spike?

Switch from a shared plan to a VPS or cloud server. Hostinger’s cloud platform lets you scale RAM and CPU with a few clicks, plus you can add a CDN to handle the load.

Is MyBB secure out of the box?

MyBB follows best security practices, but you must keep it updated, enforce strong passwords, use SSL, and configure firewalls. Regular backups and monitoring are essential for any community site.

Ready to buy?
Get Forum & Community Site online
Build an online community or forum — the hosting that handles traffic plus the software to run discussions and groups.
Build Your Community on Hostinger →