Loading...

Knowledge Base

Purchase a HostGator Self-Managed VPS with Cloudron Installation

Deploy and manage web applications more easily with Cloudron, a platform designed to simplify self-hosting on your server. Rather than manually installing applications and configuring their supporting services, Cloudron provides a web-based dashboard where you can install, configure, update, back up, and manage supported applications from one place. Cloudron also helps automate tasks such as domain configuration and SSL certificate management, making it easier to maintain your applications over time. Whether you're running a single application or hosting several web apps on a VPS, Cloudron provides a centralized way to organize and manage your self-hosted environment. Cloudron is third-party software with its own plans; the free plan has limits on the number of apps, and some features may require a paid Cloudron subscription. With a Self-Managed VPS, you're responsible for configuring, maintaining, updating, and securing your server, your Cloudron installation, and the applications you deploy.

Key Benefits of Cloudron

Self-hosting multiple applications can involve installing software, configuring databases, setting up domains and SSL certificates, and keeping everything updated. Cloudron brings many of these tasks together in one platform, helping reduce the amount of manual administration required.

  • Simplified Application Deployment: Install supported web applications through the Cloudron App Store without manually handling every installation step.
  • Centralized Application Management: View and manage your installed applications from a single dashboard.
  • Automated Maintenance: Cloudron can manage application and platform updates according to your configured update settings, helping keep your environment current.
  • Built-In Backup and Restore: Back up individual applications and restore them when needed, with support for storing backups on external storage providers.
  • Domain and SSL Management: Configure application domains and manage certificates through the Cloudron platform.

What Can You Do with Cloudron?

Cloudron provides a range of tools for deploying and maintaining applications on your VPS, including:

  • Install Applications: Browse the Cloudron App Store and deploy supported applications from the dashboard.
  • Manage Applications: Start, stop, restart, configure, and monitor your installed applications from one interface.
  • Configure Domains: Assign domains and subdomains to applications and manage their locations through Cloudron.
  • Manage SSL Certificates: Cloudron can handle certificate management for applications and their configured domains.
  • Create and Restore Backups: Back up application data and restore individual applications when necessary.
  • Apply Application Updates: Keep applications current through Cloudron's update system, with backups created before updates to support rollback if an update causes problems.
  • Monitor Application Activity: Review application status, logs, and other available information to help manage and troubleshoot your apps.
  • Manage Users and Access: Create users and control which applications they can access through the Cloudron dashboard.

Installing Cloudron on a HostGator Self-Managed VPS gives you a centralized platform for deploying and maintaining web applications. Cloudron can simplify many routine application management tasks while allowing you to retain control of the VPS and the data hosted on it.

System Requirements

Before deploying, ensure your server meets the following minimum hardware requirements. For a stable production deployment, we recommend using higher specifications than the minimum requirements.

Resource Minimum Recommended
RAM 3 GB 8 GB
Disk 20 GB 200 GB
CPU 2 vCPUs 4 vCPUs

How to Purchase a Self-Managed VPS with Cloudron

Pre-configured Setup

Self-Managed VPS - Pre-configured Setup
Not sure which VPS setup is right for you? That's exactly what Pre-configured Setup is for. You'll find this option near the top of the HostGator Self-Managed VPS purchase page, and it takes the guesswork out of getting started. Just tell us what you're building—a WordPress Site, an AI Agent/Claude Code project, a Dev/Staging environment, or an eCommerce Store—and we'll automatically select the right plan, operating system, and template to match.
  • Great option if you're new to VPS or want a fast, easy setup
  • Get the recommended configuration for your project right away
  • No need to figure out the technical details yourself
  • Full flexibility to adjust settings later on
Try Pre-configured Setup and have your HostGator Self-Managed VPS ready to go in minutes!

To use Cloudron on HostGator, you first need to buy a Self-Managed VPS plan. Here is how to do it:

  1. Open https://www.hostgator.com/vps-hosting in your browser.
  2. Pick the plan you want and click Choose Plan. Self-Managed VPS - Choose Plan
    Important

    Pricing is subject to change—please visit https://www.hostgator.com/vps-hosting for the current introductory/sign-up offer for HostGator Self-Managed VPS Hosting. For the most up-to-date renewal pricing, visit your Customer Portal Renewal Center.

  3. Pick a Data Center location. Self-Managed VPS - Data Center Locations
  4. On the Cart page, you can set up your server the way you want:
    1. Hardware:
      1. Pre-selected:

        You can change to a different Self-Managed VPS plan here.

        Self-Managed VPS - Pre-selected Hardware
      2. Configure:

        Click Configure if you want to build your own custom package.

        Note

        Any changes you make here will change the total price.

        Self-Managed VPS - Configure
    2. Software:
      Note

      The app will be grayed out if your selected plan does not meet its minimum requirements.

      1. Click the OS With Panel tab.
      2. Choose Cloudron. Self-Managed VPS - cPanel Software
      3. In the pop-up, click Confirm. Self-Managed VPS - cPanel -Confirm
  5. Support & Security:

    You can add Premium Support, an optional paid add-on that gives you a dedicated specialist team for server tuning and migrations, plus priority chat and phone access. The current price is shown in your cart before you complete checkout.

    Self-Managed VPS - Premium Support
     

  6. AI Credits:

    You can add a HostGator AI Credits package, an optional paid add-on that lets you connect your application to supported LLM providers, including Claude, GPT, Gemini, and Grok, using one API key and a single bill. Supported models may change over time. The current price is shown in your cart before you complete checkout.

    Self-Managed VPS - AI Credits
     

  7. In Advanced options, you can set these up if you want:
    • Extra IPs: Add more IP addresses for an extra cost. The price depends on how many you add, and the current price is shown in your cart before you complete checkout.
    • SSH Key: If you want to log in without a password, add your SSH public key here. This is optional. Self-Managed VPS - Advanced Options
  8. Choose a billing term, check your Order Summary, then click Continue to Checkout. Self-Managed VPS - Initial Continue to Check Out
  9. Review your HostGator cart. Some add-ons may be included by default. Review each item, remove any you don't want, then click Continue to Checkout again. Self-Managed VPS - Continue to Checkout
  10. On the Checkout page, do the following:

    If you are new to HostGator:

    1. Fill in your billing information and contact details. If you don't want marketing emails, uncheck the box at the bottom. Self-Managed VPS - Billing Information
    2. Create a password for your account. Self-Managed VPS - Account Password
    3. Choose how you want to pay—credit card or PayPal—and enter your payment details. Self-Managed VPS - Payment Method Options

    If you already have an account, your HostGator login details will show up once you log in to your Customer Portal. If you are not logged in, click Log In.

    Self-Managed VPS - HostGator Login
  11. Review your payment method and order total. If you have a promo code, click Add Promo Code and enter your code. If you need to make changes, click Edit or Add Payment Method. When everything looks correct, click Submit Payment to complete your purchase. By clicking Submit Payment, you agree to the Auto Renewal Terms, Terms of Service, Cancellation Policy, and Privacy Notice. Self-Managed VPS - Submit Payment

After checkout, your Self-Managed VPS will begin setting up. Once it's ready, you can find it under the Hosting tab in your Customer Portal.

Note

If you have questions about purchasing the Self-Managed VPS hosting, please Contact Us for assistance.

How to Set Up Your Cloudron Server

Once installation has finished:

  1. Log in to your Customer Portal.
  2. From the left-hand menu, navigate to Hosting and select My Plans.

    Customer Portal - Hosting tab - View Details
     

  3. Locate the server you want to manage, then click View Details in the bottom-left corner to expand the section and access additional server information.

    Customer Portal - Hosting tab - View Details
     

  4. Click the Reset Password button.

    Customer Portal - Hosting tab - View Details - Reset Password
     

  5. In the pop-up window, type your new root password, then click Reset Password again to confirm and save the changes.

    Customer Portal - Hosting tab - View Details - Reset Password
     

  1. Log in to your VPS using SSH.
    Connect with your VPS's IP address and credentials through an SSH client, then follow the prompts and supply your root password when requested:
    ssh root@your_server_ip
  2. Check Server and Network Setup
    cat /var/log/onboot.log
    Sample Output:
        
        Last login: Sat Jun 20 20:54:21 2026 from 123.45.678.910
        root@server-123456:~# cat /var/log/onboot.log
        [2026-06-20 20:41:18] Starting onboot script
        [2026-06-20 20:41:18] Disabled Cloudron MOTD: 92-cloudron
        [2026-06-20 20:41:18] Onboot script completed successfully
        root@server-123456:~#
            
  3. Open Required Firewall Ports (Varies by Cloud Provider)

    Do NOT turn on UFW (ufw enable). Cloudron controls its own internal firewall through iptables, and enabling UFW will disrupt its container networking.

    • On AWS EC2-based deployments: Head to your AWS Console → Security Groups, and confirm ports 80 (HTTP) and 443 (HTTPS) are open to all traffic (0.0.0.0/0).
    • On Oracle Cloud-based deployments: This should be handled automatically. If the setup page won't load after a few minutes, manually force the OS-level firewall open by running:
    iptables -I INPUT -p tcp --dport 80 -j ACCEPT iptables -I INPUT -p tcp --dport 443 -j ACCEPT netfilter-persistent save
        
        root@server-123456:~# iptables -I INPUT -p tcp --dport 80 -j ACCEPT
        iptables -I INPUT -p tcp --dport 443 -j ACCEPT
        netfilter-persistent save
        run-parts: executing /usr/share/netfilter-persistent/plugins.d/15-ip4tables save
        run-parts: executing /usr/share/netfilter-persistent/plugins.d/25-ip6tables save
        root@server-123456:~#
            
  4. Set up your DNS records:

    Sign in to your DNS provider's control panel and create two A records that point to your server's public IP address:

    Type Name Value / Points to TTL
    A @ your-server-public-ip Auto / 14400
    A * your-server-public-ip Auto / 14400

Accessing Your Cloudron Dashboard

Once your configuration has finished:

  1. Log In From Your Browser:
        https://your-server-ip
        

  2. Get Past the Browser Security Warning.

    HG AM - Cloudron login, click advanced
     

  3. Link Your Domain & DNS API

    On the setup screen, complete the configuration form:

    HG - Cloudron - Domain Setup
     

    • Domain: Enter your root domain (e.g., yourdomain.com).
    • DNS Provider: Choose your provider from the dropdown menu.
    • API Token: Paste in the API key/token you generated earlier.
    • Certificate Provider: Keep this set to Let's Encrypt Prod - Wildcard.
    • IPv4 Configuration: Choose Public IP.

    From here, Cloudron automatically communicates with your DNS provider, sets up the necessary management subdomains, and provisions an SSL certificate. Expect this to take roughly 2–3 minutes.

    HG - Cloudron - Setting Up Dashboard
     

  4. Create Your Admin Account

    Once DNS validation succeeds, your browser will automatically redirect you to a secure URL:

    https://my.yourdomain.com

    Complete the final form to set up your master admin account:

    • Enter your Name, Username, and a strong Password.
    • Enter a valid Email Address (Let's Encrypt will send SSL expiration alerts here if renewal ever fails).

    Click Create admin.

  5. Confirm Everything Works

    You're now logged into your Cloudron Dashboard!

    • To Install Apps: Open the built-in App Store, select an app (such as WordPress or Nextcloud), and assign it a subdomain. Cloudron takes care of the rest.
    • Future Dashboard Access: Your server administration portal will always be reachable at: https://my.yourdomain.com
  6. If you ever want to confirm the background system services are running properly via SSH, run:
    systemctl status box
    Sample Output:
        
        ● box.service - Box
             Loaded: loaded (/etc/systemd/system/box.service; enabled; preset: enabled)
             Active: active (running) since Sat 2026-06-20 20:41:16 UTC; 2h 13min ago
            Process: 2388 ExecReload=/bin/kill -HUP $MAINPID (code=exited, status=0/SUCCESS)
           Main PID: 1251 (MainThread)
              Tasks: 11 (limit: 2332)
             Memory: 196.1M (max: 400.0M available: 203.8M peak: 200.6M)
                CPU: 5.683s
             CGroup: /system.slice/box.service
                     └─1251 node /home/yellowtent/box/box.js
        
        Jun 20 20:41:20 server-123456.testingdomain.com sudo[1533]: pam_unix(sudo:session): session opened for user root(uid=0)>
        Jun 20 20:41:20 server-123456.testingdomain.com sudo[1533]: pam_unix(sudo:session): session closed for user root
        Jun 20 22:17:04 server-123456.testingdomain.com sudo[2380]: pam_unix(sudo:session): session opened for user root(uid=0)>
        Jun 20 22:17:04 server-123456.testingdomain.com sudo[2380]: pam_unix(sudo:session): session closed for user root
        Jun 20 22:17:04 server-123456.testingdomain.com sudo[2385]: pam_unix(sudo:session): session opened for user root(uid=0)>
        Jun 20 22:17:04 server-123456.testingdomain.com systemd[1]: Reloading box.service - Box...
        Jun 20 22:17:04 server-123456.testingdomain.com sudo[2385]: pam_unix(sudo:session): session closed for user root
        Jun 20 22:17:09 server-123456.testingdomain.com systemd[1]: Reloaded box.service - Box.
        Jun 20 22:31:21 server-123456.testingdomain.com sudo[2471]: pam_unix(sudo:session): session opened for user root(uid=0)>
        Jun 20 22:31:21 server-123456.testingdomain.com sudo[2471]: pam_unix(sudo:session): session closed for user root
        

Additional Information and Examples

Run cat /root/README.md to view further details and helpful commands:

Sample Output:
    
    root@server-123456:~# cat /root/README.md
    # Cloudron
    
    ## Description
    
    Cloudron is a self-hosting platform that lets you install and manage popular web applications on your server with automatic updates and backups. It handles app configuration, SSL certificates, user management, and system maintenance automatically, making it easy to run a personal or organizational app ecosystem without deep technical expertise.
    
    ## Before You Begin
    
    You will need the following before starting setup:
    
    1. **A registered domain name** (e.g. `mycompany.com`) -- purchase from
       Namecheap, GoDaddy, or Porkbun. Cheap `.xyz` or `.online` domains
       cost $1-2/year.
    2. **Wildcard DNS configured** -- create a wildcard `A` record pointing
       `*.yourdomain.com` -> your server's public IP. This is required for
       Cloudron to create subdomains for each app automatically.
    3. **A DNS provider API key** so Cloudron can automatically manage DNS
       records. Cloudflare is recommended (free). Point your domain nameservers
       to Cloudflare, then create an API token with Zone -> DNS -> Edit permissions.
    4. **An admin email address** -- used for Let's Encrypt SSL certificate
       provisioning. Use a valid email you have access to.
    
    > Cloudron requires a real domain because it automatically provisions
    > wildcard SSL certificates and creates subdomains for every app you install
    > (e.g. `wordpress.yourdomain.com`, `nextcloud.yourdomain.com`).
    > This cannot be bypassed in production use.
    
    ---
    
    ## Minimum Resources
    
    Cloudron requires more resources than a typical single-app image due to its
    container orchestration, Docker engine, and built-in services (nginx, MySQL,
    mail server, etc.).
    
    | Resource | Minimum |
    |----------|---------|
    | CPU      | 2 vCPUs |
    | RAM      | 3 GB    |
    | Disk     | 20 GB   |
    
    ---
    
    ## How to Use
    
    #### Step 1 -- Wait for First Boot to Complete
    
    After launching the instance, the first-boot script runs automatically in the
    background. It opens ports 80 and 443 via iptables and prepares the system for
    Cloudron setup. This takes about 2 minutes. You can verify it completed:
    
    ```bash
    cat /var/log/onboot.log
    ```
    
    #### Step 2 -- Point Your Domain to This Server
    
    Before opening the setup UI, add these DNS records at your DNS provider:
    ```
    Type: A  |  Name: *  |  Value: your-server-ip  |  TTL: Auto
    Type: A  |  Name: @  |  Value: your-server-ip  |  TTL: Auto
    ```
    The wildcard record is required -- Cloudron automatically creates a subdomain
    for every app you install (e.g. `wordpress.yourdomain.com`).
    
    #### Step 3 -- Open the Cloudron Setup UI
    
    Open your browser and go to:
    ```
    http://your-server-ip
    ```
    
    You will see the Cloudron first-time setup wizard. If the page does not load,
    wait another minute and try again.
    
    #### Step 4 -- Enter Your Domain and DNS Credentials
    
    Fill in the setup form:
    - **Domain** -- your registered domain (e.g. `mycompany.com`)
    - **DNS Provider** -- select your provider (Cloudflare recommended)
    - **API Token** -- your DNS provider API token
    - **Certificate provider** -- leave as `Let's Encrypt Prod - Wildcard`
    - **IPv4 Configuration** -- leave as `Public IP`
    
    Click **Next**. Cloudron will create the required DNS records and provision
    a wildcard SSL certificate automatically. This may take 2-3 minutes.
    
    #### Step 5 -- Create Your Admin Account
    
    Once DNS and SSL are configured, Cloudron redirects you to
    `https://my.yourdomain.com`. Fill in your name, email, username, and
    password, then click **Create admin** to access your dashboard.
    
    > Use a real email address -- Let's Encrypt sends certificate renewal
    > notices to this address.
    
    ---
    
    ### Oracle Cloud Deployment
    
    Oracle Cloud has an additional OS-level firewall that blocks ports 80 and 443
    even after opening them in the Security List. This image handles this
    automatically on first boot -- no manual iptables commands are needed.
    
    If ports are still blocked after booting, SSH in and run:
    
    ```bash
    iptables -I INPUT -p tcp --dport 80 -j ACCEPT
    iptables -I INPUT -p tcp --dport 443 -j ACCEPT
    netfilter-persistent save
    ```
    
    Then follow Steps 2-5 above.
    
    ---
    
    ### AWS EC2 Deployment
    
    #### Step 1 -- Open Security Group Ports
    
    Open these ports in your EC2 Security Group before accessing the setup page:
    
    | Port | Protocol | Source    | Purpose                    |
    |------|----------|-----------|----------------------------|
    | 22   | TCP      | Your IP   | SSH access                 |
    | 80   | TCP      | 0.0.0.0/0 | Cloudron setup UI + HTTP   |
    | 443  | TCP      | 0.0.0.0/0 | HTTPS for apps + dashboard |
    
    **Steps:**
    1. Go to EC2 -> Instances -> select your instance -> Security tab
    2. Click the Security Group link -> Edit inbound rules
    3. Add HTTP (port 80) and HTTPS (port 443) with source Anywhere (0.0.0.0/0)
    4. Save rules
    
    ## Accessing the Dashboard
    
    Cloudron has no default username or password. Your admin credentials are
    created by you during the first-boot setup wizard (Step 5 above). If you
    have not completed setup yet, open `http://your-server-ip` to begin.
    
    After setup, your Cloudron dashboard is always at:
    ```
    https://my.yourdomain.com
    ```
    
    Each app you install gets its own subdomain automatically:
    - WordPress -> `https://wordpress.yourdomain.com`
    - Nextcloud -> `https://nextcloud.yourdomain.com`
    - Gitea -> `https://git.yourdomain.com`
    
    Cloudron acts as an OAuth/OIDC provider -- once logged into the dashboard,
    you are automatically signed into all hosted apps.
    
    ---
    
    ## DNS Provider API Keys
    
    | Provider     | How to get credentials                               |
    |--------------|------------------------------------------------------|
    | Cloudflare   | My Profile -> API Tokens -> Create Token (Zone:Edit)  |
    | AWS Route 53 | IAM -> Users -> Create Access Key + Secret Key         |
    | GoDaddy      | developer.godaddy.com -> API Keys                    |
    | Namecheap    | Profile -> Tools -> API Access                        |
    | DigitalOcean | API -> Generate New Token                            |
    
    Full list: [DNS Provider docs](https://docs.cloudron.io/domains/#dns-providers)
    
    ---
    
    ## Services
    
    | Service  | Ports   | Purpose                                      |
    |----------|---------|----------------------------------------------|
    | Cloudron | 80, 443 | Setup UI, dashboard, and hosted applications |
    | OpenSSH  | 22      | Remote SSH access                            |
    
    > Do NOT enable UFW -- Cloudron manages its own firewall via iptables.
    > Enabling UFW will conflict with Cloudron's internal port management.
    
    ---
    
    ## Image Contents
    
    - Cloudron 8+ (currently 9.1.6, installed via official installer)
    - Docker CE (latest stable, upgraded post-install)
    - Ubuntu 24.04 with all security patches applied at build time
    
    > Cloudron bundles and manages its own versions of nginx and Node.js
    > internally. These are updated via Cloudron's own update mechanism.
    
    ---
    
    ## Known Limitations
    
    - Remaining Trivy vulnerabilities are in Cloudron's bundled Node.js
      dependencies and Docker CE binaries compiled with Go stdlib. These are
      managed by Cloudron and Docker upstream respectively and will be resolved
      in their future releases.
    - Cloudron requires a real domain name -- it cannot be accessed via IP
      address alone in production use.
    
    ---
    
    ## Validation Tests
    
    ```bash
    perl /root/app_test/main.t
    ```
    
    Runs 11 checks: `box.service` enabled and unit file present, first-boot script
    executable, logrotate config present, log directory exists, README copied to
    `/root/README.md`, MOTD executable, Docker binary and service available, port 80
    listening, and Cloudron box service active.
    
    ## Useful Commands (via SSH)
    
    ```bash
    # Check Cloudron status
    systemctl status box
    
    # Restart Cloudron
    systemctl restart box
    
    # View Cloudron logs
    journalctl -u box -n 100 --no-pager
    
    # View first-boot log
    cat /var/log/onboot.log
    ```
    
    ---
    
    ## Links
    
    **Cloudron**
    
    * Home: [cloudron.io](https://www.cloudron.io/)
    * Documentation: [docs.cloudron.io](https://docs.cloudron.io/)
    * App Store: [Cloudron App Store](https://www.cloudron.io/store/)
    * DNS Providers: [Supported DNS Providers](https://docs.cloudron.io/domains/#dns-providers)
    * Community Forum: [forum.cloudron.io](https://forum.cloudron.io/)
    root@server-123456:~#
    

Loading...