Loading...

Knowledge Base

Purchase a HostGator Self-Managed VPS with CyberPanel Installation

Manage your websites and hosting services with CyberPanel, an open-source web hosting control panel designed to simplify VPS management. Powered by OpenLiteSpeed, CyberPanel provides a web-based dashboard where you can manage websites, domains, databases, email accounts, DNS settings, SSL certificates, files, and other hosting features from a single interface.

Instead of performing every task through the command line, CyberPanel allows you to create websites, install applications, configure hosting settings, manage backups, and monitor server resources. Whether you're hosting a single website or multiple domains, CyberPanel provides a convenient way to administer your hosting environment on your VPS. Some optional features and add-ons, such as LiteSpeed Enterprise, require a separate paid license. With a Self-Managed VPS, you're responsible for configuring, maintaining, updating, and securing your server, your CyberPanel installation, and the websites and services you host.

Key Benefits of CyberPanel

Managing websites and hosting services manually can become increasingly challenging as your online presence grows. CyberPanel centralizes commonly used hosting tools in a single dashboard, making everyday website administration simpler and more efficient.

  • Manage Everything in One Place: Access websites, domains, databases, email accounts, DNS settings, SSL certificates, and other hosting features from a single dashboard.
  • Powered by OpenLiteSpeed: CyberPanel runs on OpenLiteSpeed and also supports LiteSpeed Enterprise, giving you flexibility when choosing your web server environment.
  • Simplified Website Setup: Create websites and configure essential hosting settings without performing every task through the command line.
  • Easy Application Installation: Install supported applications, including WordPress, using CyberPanel's built-in tools.
  • Convenient Hosting Management: Manage website files, databases, SSL certificates, backups, DNS records, email accounts, and FTP access directly from the CyberPanel dashboard.
  • Greater VPS Control: When used with a HostGator Self-Managed VPS, CyberPanel helps you manage your hosting environment while maintaining full control over your server.

What Can You Do with CyberPanel?

CyberPanel includes a variety of tools that help you deploy, manage, and maintain websites and hosting services, including:

  • Create Websites: Add websites, domains, and subdomains, then manage their hosting settings from the CyberPanel dashboard.
  • Install Applications: Install supported applications, such as WordPress, using CyberPanel's application installer.
  • Manage Databases: Create and manage databases for your websites and applications.
  • Manage Website Files: Upload, download, edit, and organize website files using the built-in File Manager.
  • Secure Websites with SSL: Set up and manage SSL certificates to help keep connections to your websites secure.
  • Manage DNS Settings: Configure DNS records for domains hosted through CyberPanel.
  • Set Up Email: Create and manage email accounts for your hosted domains.
  • Manage FTP Access: Create and manage FTP accounts for transferring and maintaining website files.
  • Back Up Your Websites: Create and restore backups to help protect website and application data.
  • Monitor Server Resources: View CPU, memory, and disk usage to monitor your VPS's performance and resource consumption.
  • Manage Hosting Services: Start, stop, and manage supported hosting services through the CyberPanel interface.

Installing CyberPanel on a HostGator Self-Managed VPS provides a user-friendly dashboard for managing websites and hosting services. With tools for website deployment, application management, backups, security, and server monitoring, CyberPanel simplifies day-to-day administration while allowing you to maintain control of your VPS.

System Requirements

Here is what your system needs to run this software smoothly.

Resource Minimum Recommended
vCPUs 2vCPUs 4 vCPUs
RAM 4 GB 8 GB
Disk 20 GB 20 GB SSD

How to Purchase a Self-Managed VPS with CyberPanel

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 CyberPanel 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
     

  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.

        Self-Managed VPS - Configure
         

    2. Software:
      1. Click the OS With Panel tab.
      2. Choose CyberPanel.

        Self-Managed VPS - CyberPanel Software
         

      3. In the pop-up, click Confirm.

        Self-Managed VPS - CyberPanel -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.
    • Hostname: Give your server a custom name. This is optional.
    • 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.

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

How to Log In and Set Up Your First Website in CyberPanel

CyberPanel is a web hosting control panel. From one dashboard, you can manage websites, databases, email, and security settings, which reduces the amount of command-line work needed for many routine tasks.

Use this guide to log in and get your first website up and running.

Step 1: Access your CyberPanel Dashboard

Once installation is 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. Connect to your VPS via SSH.
    Using your VPS IP address and login details, connect through an SSH client, then follow the prompts and type in your root password when requested:
      ssh root@your_server_ip

    Example Output:

      Welcome to Ubuntu 24.04.4 LTS (GNU/Linux 6.8.0-124-generic x86_64)
      ********************************************************************************
        CyberPanel + OpenLiteSpeed Stack
        Firewall: Ports 22, 80, 443, 8090, 7080 open
      
          Access URLs:
          CyberPanel Dashboard : https://203.0.113.10:8090
          OLS Admin            : https://203.0.113.10:7080
          Hosted Websites      : https://203.0.113.10
      
        Login:
          CyberPanel  Username : admin  Password : see /root/.app_passwords (CYBERPANEL_PASS)
          OLS Admin   Username : admin  Password : see /root/.app_passwords (OLS_ADMIN_PASS)
      
        Key Paths:
          Credentials  : /root/.app_passwords
          CyberPanel   : /usr/local/CyberCP
          Logs         : /var/log/{cyberpanel,lsws}/
          MySQL pass   : /etc/cyberpanel/mysqlPassword
      
        Quick Commands:
          systemctl {status|restart} lscpd
          systemctl {status|restart} lsws
          systemctl {status|restart} mariadb
          tail -100 /var/log/lsws/error.log
      
        For full details: /root/README.md
      ********************************************************************************
  2. If you'd like a quick way to view the server's deployment notes right from the terminal, display the original README file with this command:
    cat /root/README.md

Step 2: Retrieve Initial Credentials

Before signing into the web interface, you'll need to locate the unique passwords the system created automatically when it first started up.

  1. View your generated passwords:
    sudo cat /root/.app_passwords

    Example Output:

      root@server-123456:~# sudo cat /root/.app_passwords
      sudo: unable to resolve host server-123456.example.com: Name or service not known
      CYBERPANEL_PASS=abc12345GJxJ3tuIJ8OA9hmx
      OLS_ADMIN_PASS=abc12345lpin0zOfKbaloRKd
  2. Sign In:

Step 3: Log In to the CyberPanel Dashboard

  1. In your browser, go to: https://<your-server-ip>:8090
  2. Get past the SSL warning: Your browser may show a "Your connection is not private" warning because CyberPanel uses a temporary self-signed SSL certificate. This is expected the first time you connect. Only continue if the IP address matches the one shown in your Customer Portal. Select Advanced, then Proceed. After you add your domain and issue an SSL certificate in Step 6, you can access your sites over a trusted connection.

    HG AM - Cyberpanel log in  click advanced
     

  3. Enter these login details:
    • Username: admin
    • Password: (the password you retrieved in Step 2)

    HG AM - Cyberpanel log in
     

Step 4: Point Your Domain to the Server

Your domain needs to be pointed to your server's address before you can build a site or generate an SSL certificate for it.

  1. Sign in to your domain registrar account.
  2. Navigate to the DNS Management / DNS Zone Editor section for your domain.
  3. Add or update an A Record with these values:
    • Host/Name: @ (or leave it empty, or enter your domain name)
    • Value/Points to: <your-server-ip>
    • TTL: Automatic or 3600

Step 5: Create Your First Website

With your domain now pointing to the server, you're ready to set up the website container within CyberPanel.

  1. From the CyberPanel dashboard menu, select Websites, then choose Create Website.

    HG AM - Cyberpanel create website
     

  2. Complete the required fields:
    • Package: Choose Default.
    • Owner: Choose admin.
    • Domain Name: Type in your domain.
    • Email: Provide your email address (needed for SSL renewal alerts).
    • PHP Version: Pick the version needed for your application.

      HG AM - Cyberpanel create website Fill in
       

  3. Select Create Website. CyberPanel will handle setting up the virtual host, folder layout, and PHP routing on its own.

    HG AM - Cyberpanel create website Fill in Save
     

Step 6: Secure Your Website with HTTPS (SSL)

CyberPanel provides no-cost, automated SSL certificates via Let's Encrypt.

  1. Sign in to the registrar where you purchased your domain, and set its DNS A record to point to <your-server-ip>.
  2. Back in CyberPanel, open Websites and select List Websites.

    HG AM - Cyberpanel SSL
     

  3. Select the dropdown icon next to the website you'd like to manage.

    HG AM - Cyberpanel SSL
     

  4. Select Issue SSL, and CyberPanel will immediately secure your site.

    HG AM - Cyberpanel SSL
     

Step 7: Create a Database (Optional)

For websites that rely on a database (such as WordPress), setting one up only takes a moment.

  1. Open Databases & FTP and select Create Database.

    HG AM - Cyberpanel Database and FTP
     

  2. Choose your website from the dropdown menu.

    HG AM - Cyberpanel Database and FTP
     

  3. Provide a Database Name, Database User, and Password.

    HG AM - Cyberpanel Database and FTP
     

  4. Select Create Database.
  5. For a visual way to manage your databases, go to Databases and open phpMyAdmin.

Useful Cheat Sheet for Maintenance

After your setup is complete, these commands let you check on and manage your services straight from the command line:

Web Server and Panel Controls

  • Restart OpenLiteSpeed (No Downtime):
    /usr/local/lsws/bin/lswsctrl restart
  • Restart CyberPanel Interface:
    systemctl restart lscpd

Checking Logs (Troubleshooting)

  • Live CyberPanel Dashboard logs:
    journalctl -u lscpd -f
  • Live Web Server error logs:
    tail -f /usr/local/lsws/logs/error.log

Additional Information and Examples

Running cat /root/README.md will show you more details and helpful commands:

Example Output:
  
  root@server-123456:~# cat /root/README.md
  # CyberPanel
  
  ## Description
  
  CyberPanel is an open-source web hosting control panel powered by OpenLiteSpeed. It lets you manage websites, databases, DNS, email accounts, and SSL certificates from a modern web interface. It supports one-click WordPress installs, multi-PHP version management, Let's Encrypt SSL automation, and built-in email hosting with Postfix and Dovecot, providing a complete hosting environment without complex command-line setup.
  
  Traffic flow:
  
```text
  Browser (HTTPS/HTTP)
          |
          v
    OpenLiteSpeed (ports 80, 443)    managed by CyberPanel
          |
     +------------------------------+
     |  Hosted websites / apps      |
     |  (PHP, static, reverse proxy)|
     +------------------------------+
  
  Browser -> CyberPanel management UI:
    https://server-ip:8090  (direct access)
```
  
  CyberPanel manages SSL certificates for all hosted websites via Let's Encrypt
  automatically once a domain is pointed at the server.
  
  ---
  
  ## Services
  
  | Service       | Port(s) | Purpose                             |
  | ------------- | ------- | ----------------------------------- |
  | CyberPanel UI | 8090    | Management dashboard                |
  | OpenLiteSpeed | 80, 443 | Website hosting and automatic TLS   |
  | OLS Admin     | 7080    | OpenLiteSpeed admin panel           |
  | OpenSSH       | 22      | Remote access (rate-limited by UFW) |
  
  Ports are protected using UFW. Database and cache services are intentionally
  bound to localhost only and are not accessible from outside the server.
  
  ---
  
  ## How to use
  
  ### Initial access
  
  Open https://server-ip:8090 in your browser.
  
  Note: Your browser may show a certificate warning on first access. This is
  expected -- click Advanced and Proceed to continue. CyberPanel will provision
  a trusted Let's Encrypt certificate once a domain is configured.
  
  On first visit:
  
  1. Retrieve the generated admin credentials:
  
```bash
  sudo cat /root/.app_passwords
```
  
  2. Use these credentials to log in:
  
  | Service             | URL                      | Username | Password          |
  | ------------------- | ------------------------ | -------- | ----------------- |
  | CyberPanel          | https://server-ip:8090 | admin    | `CYBERPANEL_PASS` |
  | OpenLiteSpeed Admin | https://server-ip:7080 | admin    | `OLS_PASS`        |
  
  Both services automatically share the same randomized admin password generated during first boot.
  
  3. You will land on the CyberPanel dashboard.
  4. Click Websites -> Create Website to add your first site.
  
  ---
  
  ### Creating your first website
  
  1. Go to Websites -> Create Website
  2. Fill in:
     - Domain name -- your domain (e.g. example.com)
     - Email -- used for SSL certificate notifications
     - PHP version -- select the version your app needs
     - Package -- select Default
  3. Click Create Website
  
  CyberPanel sets up the virtual host, web root, and PHP configuration automatically.
  
  ---
  
  ### Enabling HTTPS for hosted websites
  
  CyberPanel manages OpenLiteSpeed and Let's Encrypt automatically. To enable
  HTTPS for a website:
  
  1. Point your domain's DNS A record at server-ip
  2. In CyberPanel, go to Websites -> List Websites
  3. Click Manage on your website
  4. Click Issue SSL -- CyberPanel obtains a Let's Encrypt certificate automatically
  
  No manual certbot or nginx configuration is required.
  
  ---
  
  ### Managing databases
  
  1. Go to Databases -> Create Database
  2. Fill in the database name, username, and password
  3. Click Create Database
  
  To manage databases visually, go to Databases -> phpMyAdmin.
  
  ---
  
  ## Manage
  
  ### CyberPanel Web Interface
  
  | URL                      | Purpose                    |
  | ------------------------ | -------------------------- |
  | https://server-ip:8090 | CyberPanel admin dashboard |
  | https://server-ip:7080 | OpenLiteSpeed admin panel  |
  | https://server-ip      | Your hosted websites       |
  
  Both dashboards automatically share the same randomized admin password generated during first boot.
  
  ### OpenLiteSpeed
  
```bash
  # Check status
  systemctl status lsws
  
  # Restart OpenLiteSpeed
  systemctl restart lsws
  
  # Graceful reload (no downtime)
  /usr/local/lsws/bin/lswsctrl restart
```
  
  ### CyberPanel service
  
```bash
  # Check status
  systemctl status lscpd
  
  # Restart CyberPanel
  systemctl restart lscpd
```
  
  ### MariaDB
  
```bash
  # Check status
  systemctl status mariadb
  
  # Open MySQL shell
  mysql -u root
  
  # Show all databases
  mysql -u root -e "SHOW DATABASES;"
```
  
  ### Logs
  
```bash
  # CyberPanel logs
  journalctl -u lscpd -f
  
  # OpenLiteSpeed error log
  tail -f /usr/local/lsws/logs/error.log
  
  # First boot log
  cat /var/log/onboot.log
```
  
  ---
  
  ## Security
  
  | Hardening                | Detail                                           |
  | ------------------------ | ------------------------------------------------ |
  | UFW firewall             | Only ports 22, 80, 443, 7080 and 8090 are open   |
  | SSH rate limiting        | Port 22 protected against brute-force attacks    |
  | Local-only services      | Databases accessible only from the server itself |
  | SSL support              | HTTPS via Let's Encrypt through CyberPanel       |
  | No hardcoded credentials | Passwords are generated fresh at first boot      |
  
  ---
  
  ## Minimum resources
  
  | Resource | Minimum |
  | -------- | ------- |
  | vCPUs    | 2       |
  | RAM      | 4 GB    |
  | Disk     | 20 GB   |
  
  ---
  
  ## Notes
  
  - OpenLiteSpeed handles reverse proxying, SSL termination, and static content serving.
  - CyberPanel automatically manages virtual hosts, PHP, and SSL certificates.
  - Both CyberPanel and OpenLiteSpeed admin panels use synchronized passwords generated during first boot.
  - Passwords are stored securely at `/root/.app_passwords`.
  - MariaDB is intentionally bound locally for improved security.
  - No nginx setup is required because OpenLiteSpeed handles web serving directly.
  
  ---
  
  ## Links
  
  - CyberPanel Documentation: [https://cyberpanel.net/docs/](https://cyberpanel.net/docs/)
  - OpenLiteSpeed Documentation: [https://docs.openlitespeed.org/](https://docs.openlitespeed.org/)
  - Manage: [https://server-ip:8090](https://server-ip:8090)

Loading...