Loading...

Knowledge Base

Purchase a HostGator Self-Managed VPS with ISPConfig 3 Installation

Manage your websites and hosting services more efficiently with ISPConfig, a free and open-source hosting control panel for Linux. It provides a web-based dashboard that allows you to manage websites, domains, email, databases, DNS, SSL certificates, FTP accounts, and other hosting services from a single location.

With ISPConfig, you can perform common hosting tasks without relying entirely on the command line. Whether you're managing a single website or multiple domains and services on your VPS, ISPConfig helps you organize and control your hosting environment through a centralized dashboard. With a Self-Managed VPS, you're responsible for configuring, maintaining, updating, and securing your server, your ISPConfig installation, and the websites and email you host.

Key Benefits of ISPConfig

ISPConfig provides tools that make it easier to manage your websites, hosting services, and server resources from a single interface.

  • Centralized Hosting Management: Manage websites, domains, DNS, email, databases, FTP accounts, and other hosting services from one dashboard.
  • Easy Website Management: Add websites and domains, configure hosting settings, manage subdomains, and install SSL certificates through the control panel.
  • Built-In Email Management: Create email accounts and aliases, configure mail services, and manage spam and virus filtering for your hosted domains.
  • Database Management: Create and manage MySQL and MariaDB databases for your websites and applications.
  • DNS and SSL Management: Create and manage DNS zones and records, and configure SSL-enabled websites directly from the ISPConfig interface.
  • Flexible File and Access Management: Manage FTP, SFTP, SCP, and shell access for users who need to work with website files and server resources.
  • Resource Monitoring: View website statistics, traffic, disk usage, and other server metrics to help monitor your hosting environment.

What Can You Do with ISPConfig?

ISPConfig provides the tools needed to manage many of the day-to-day tasks involved in running websites and hosting services on your VPS.

  • Manage Websites: Add websites and domains, configure web hosting settings, manage subdomains, and view website statistics.
  • Manage Databases: Create and manage MySQL and MariaDB databases for your websites and applications.
  • Manage Website Files: Upload, edit, delete, and organize website files using FTP or Web FTP tools.
  • Configure SSL Certificates: Set up SSL-enabled websites to help secure connections between your visitors and your websites.
  • Manage DNS: Create DNS zones and manage records such as A, AAAA, CNAME, MX, TXT, and other supported record types.
  • Manage Email: Create email accounts and aliases, configure mail services, and manage spam and virus filtering.
  • Manage FTP and Server Access: Create FTP users and manage SFTP, SCP, and shell access for your hosting environment.
  • Create and Manage Backups: Back up website and hosting data and manage backup-related tasks for your hosting environment.
  • Monitor Hosting Resources: Check server status, CPU and RAM usage, disk usage, service status, traffic, and website statistics.
  • Manage Users and Access: Create and manage administrator, reseller, client, and email-level accounts based on the requirements of your hosting environment.
  • Manage Scheduled Tasks: Create and manage cron jobs for tasks that need to run automatically at scheduled times.

Installing ISPConfig on a HostGator Self-Managed VPS provides a centralized interface for managing your websites and hosting services. You can configure domains, databases, email, DNS, SSL certificates, file access, and other hosting resources while maintaining full control over your VPS environment.

How to Purchase a Self-Managed VPS with ISPConfig 3

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 ISPConfig 3 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 ISPConfig 3.

        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.
    • 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.

Setting Up and Securing Your ISPConfig 3 Server

ISPConfig 3 needs a few configuration steps before it's ready for production. Follow the steps below to find your login details, open the web interface, set up your hosting environment, install trusted SSL certificates, and secure your websites and email domains.

Step 1: Reset Your Root Password

  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
     

Step 2: Connect to Your Server Through SSH

  1. Connect to your server via SSH.
    Open your terminal (or an SSH client such as PuTTY) and run the command below to sign in as administrator, using your server's public IP:
    ssh root@your_server_ip
    When prompted, enter the new root password you set up in the previous step.
  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 3: Retrieve Your Login Credentials

After you sign in through SSH, the background setup should be done. It usually takes about 2 to 3 minutes.

  1. Retrieve your password: Enter the command below in your terminal to view the auto-generated admin login details.
    cat /root/.app_passwords
  2. Save your password: Find the line starting with ISPCONFIG_ADMIN_PASSWORD= and copy what comes after it. This is the password you'll use to log into the ISPConfig web interface next.

    Example Output:

    root@hal-server-123456:~# cat /root/.app_passwords
    ISPCONFIG_ADMIN_PASSWORD=t3st158b039dd4101e8e0d1b828dc9010df863adeexample

Step 4: Access the Web Panel

Next, switch to your web browser.

  1. Open the ISPConfig web panel: In your browser, go to https://<your-server-ip>:8080/, swapping in your server's actual public IP for <your-server-ip>.
    Example: https://12.3.456.789:8080/
  2. Continue past the security warning: Your browser may show a "connection isn't private" warning. This is expected at this stage, because ISPConfig uses a temporary self-signed SSL certificate by default. If the address in your browser is your own server's IP, click Advanced, and then click Proceed (or your browser's equivalent option) to reach the login screen. You'll replace this certificate with a trusted one in Step 6.
  3. Log in: Enter these credentials:
    • Username: admin
    • Password: The password you saved in Step 3.

      Self-Managed VPS - ISPConfig Dashboard
       

  4. You're now inside your Dashboard.

    Self-Managed VPS - ISPConfig Admin Dashboard
     

Step 5: Configure Your Hosting Environment

Now that you can reach the panel, add the domains and services your server will handle.

  1. Set the hostname: Go to System → Server Config, and change the server's hostname so it matches your fully qualified domain name (FQDN), like server.yourdomain.com.

    Self-Managed VPS - ISPConfig System Server
     

  2. Add a website: Go to Sites → Add New Website, and enter the domain you want hosted (for instance, yourdomain.com). Set the options you need, such as client, IP address, and web server settings, then save. ISPConfig builds the website and configures the web server based on your selections.

    Self-Managed VPS - ISPConfig Add Website
     

  3. Set up email (Optional): To host email for your domain, go to Email → Domain and add it there. Then go to Email → Mailbox to create individual email accounts, like [email protected].

    Self-Managed VPS - ISPConfig Email
     

Step 6: Secure the Server with SSL

Your server still uses a temporary self-signed SSL certificate, so browsers may flag it as "Not Secure" or show a similar alert. Replace it with a trusted certificate to get an encrypted connection.

  1. Secure your hosted websites: Back in your SSH session, run the command below to get and install a free Let's Encrypt SSL certificate for the websites you host:

    certbot --nginx

    Follow the prompts to finish installing the certificate. Before you run this, double-check that your domain's DNS records already point to your server's public IP.

  2. Secure the ISPConfig web panel: Run this command to replace the panel's temporary self-signed certificate with a trusted Let's Encrypt one:

    sudo /opt/ispconfig/setup-ssl.sh panel.yourdomain.com [email protected]

    Replace panel.yourdomain.com with the fully qualified domain name (FQDN) you use to access the ISPConfig panel, and replace [email protected] with your own email address. After the script runs, the browser security warning you saw earlier should be gone.

Monitoring Your ISPConfig Server

With the initial setup done, use these tips to keep an eye on your server and fix common problems:

  • Check service status: Run the command below to confirm a service is up and running:
    systemctl status service_name
    Replace service_name with the service you want to check, such as nginx or mariadb.
  • If the ISPConfig panel is unavailable: Make sure you're opening the panel with https:// rather than http://, and check that port 8080 is open and isn't blocked by your firewall or network settings.

Additional Information and Examples

You can run cat /root/README.md to see more information and useful commands:

Example Output:

root@hal-server-123456:~# cat /root/README.md
# ISPConfig 3

## Description

ISPConfig 3 is a widely-used, open-source hosting control panel for Linux that allows you to manage multiple servers, websites, email accounts, DNS records, and databases through a clean, web-based interface.

With ISPConfig, you can manage web hosting, configure email mailboxes, set up FTP users, create databases, and enforce security policies without needing deep command-line expertise.

This image comes with a complete ISPConfig 3 stack pre-installed and configured on Ubuntu 24.04 LTS (Nginx, MariaDB, PHP 8.3-FPM, Postfix, Dovecot, and Fail2ban).
On first boot, a secure, randomized administrator password is automatically generated for you.

---

## Quick Start

Follow these three steps to get up and running.

### Step 1 - Wait for first boot to complete

After launching your instance, wait 2-3 minutes for the first-boot setup to finish.

The setup runs automatically in the background. It generates your randomized admin password, updates the database credentials, sets up system hostnames, and starts the panel services.

You do not need to do anything during this time.

### Step 2 - Get your login credentials

SSH into your server as the `root` user and run:

```bash
cat /root/.app_passwords
```

You will see output like this:

```
ISPCONFIG_ADMIN_PASSWORD=your_secure_randomized_password
```

Save this password - you will need it to log in.

### Step 3 - Open the panel in your browser

After first boot, open:

```
https://localhost:8080
```

On a real server, replace `localhost` with your server's IP address:

```
https://{server_ip}:8080
```

> **Browser warning:** ISPConfig uses a self-signed SSL certificate by default.
> When your browser shows a security warning, click **Advanced** then **Proceed** to continue.
> This is expected and safe for initial setup.

Log in with the following credentials:
- **Username:** `admin`
- **Password:** The password retrieved in Step 2.

---

## Next Steps

Once you are logged into the ISPConfig Control Panel, here is what to do next.

### 1. Configure Server Hostname

Go to **System** -> **Server Config** and select your server. Update the hostname and network configuration to match your domain and server setup.

### 2. Add your first website

Go to **Sites** -> **Add new website**.

Enter your domain name (e.g., `example.com`), configure any redirection or SSL preferences, and click **Save**.

ISPConfig will automatically create the web directories and configure Nginx backend virtual hosts.

### 3. Create Mail Domains and Mailboxes

Go to **Email** -> **Domain** -> **Add new domain** to register your mail domain.
Once registered:
- Go to **Email Mailbox** -> **Add new mailbox** to create individual email accounts.
- Use ports `25`, `465`, or `587` for sending mail (SMTP) and `110`, `995`, `143`, or `993` for receiving (IMAP/POP3).

### 4. Set up a real SSL certificate

Certbot is pre-installed on this image. After pointing your domain name's DNS records to your server's public IP, you can secure your website by running:

```bash
certbot --nginx
```

Follow the prompts to obtain a free, trusted Let's Encrypt SSL certificate, which replaces the self-signed certificate and removes browser warnings.

### 5. Set up a real SSL certificate for the Control Panel itself

On first boot, the ISPConfig panel uses a temporary self-signed SSL certificate. Once you have pointed a custom domain (e.g., `panel.example.com`) to your server's public IP, you can secure the control panel and remove browser warnings completely by running:

```bash
sudo /opt/ispconfig/setup-ssl.sh panel.example.com [email protected]
```

This helper script automatically shuts down Nginx, requests the Let's Encrypt certificate, updates the ISPConfig system configuration, restarts services, and installs a secure auto-renewal deploy-hook.

---

## Access

| URL | Purpose |
|-----|---------|
| `https://:8080/` | ISPConfig 3 Control Panel (HTTPS) |
| `http:///` | Default HTTP website landing page |
| `https:///` | Default HTTPS website landing page |

---

## Credentials

All credentials generated during deployment are stored in:

```bash
cat /root/.app_passwords
```

| Field | Description |
|-------|-------------|
| `ISPCONFIG_ADMIN_PASSWORD` | Randomized admin password generated securely on first boot |

To view the first boot setup logs:

```bash
cat /var/log/cloud-init-output.log
```

---

## Managing the Server

### Services

```bash
# Check service statuses
systemctl status nginx
systemctl status mariadb
systemctl status php8.3-fpm
systemctl status postfix
systemctl status dovecot
systemctl status fail2ban

# Restart a service (e.g. Nginx)
systemctl restart nginx
```

### Running Health Checks

To run the built-in system validation and health check suite, execute:

```bash
prove /root/app_test/main.t
```

### Firewall

```bash
# View open ports and firewall status
ufw status verbose
```

### Logs

```bash
# View ISPConfig panel and cron logs
tail -f /var/log/ispconfig/ispconfig.log

# View Nginx web server error logs
tail -f /var/log/nginx/error.log

# View mail server logs (Postfix & Dovecot)
journalctl -u postfix -u dovecot -f
```

---

## Troubleshooting

### Panel URL not opening in browser

1. Verify that Nginx is running: `systemctl status nginx`
2. Check that the ISPConfig port 8080 is listening: `ss -tlnp | grep 8080`
3. Verify that the UFW firewall allows traffic on port 8080: `ufw status | grep 8080`
4. Make sure you are explicitly typing `https://` in the browser (e.g., `https://:8080/`), as `http://` will fail.

### First boot did not run

If `/root/.app_passwords` does not exist or the password is not set, you can trigger the initialization script manually:

```bash
sed -i 's/\r//' /var/lib/cloud/scripts/per-instance/001_onboot
bash /var/lib/cloud/scripts/per-instance/001_onboot
```

Then read your credentials again:

```bash
cat /root/.app_passwords
```

---

## Security

| Feature | Detail |
|---------|--------|
| Firewall | UFW enabled - only minimal essential ports open by default |
| SSH Security | Rate limited on port 22 to block brute force attempts |
| Dynamic Passwords | Never baked into the image - uniquely randomized at first boot |
| File Credentials | `/root/.app_passwords` is owned by `root:root` with secure permissions (`0600`) |
| Intrusion Prevention | Fail2ban monitors log files and automatically bans abusive IPs |
| HTTPS Panel | SSL encryption active by default on the control panel (port 8080) |

---

## Services

| Service | Port | Purpose |
|---------|------|---------|
| ISPConfig (Nginx) | 8080 | Web administration interface |
| OpenSSH | 22 | Secure remote server access |
| Nginx | 80 / 443 | Web server (HTTP / HTTPS) |
| Postfix | 25 / 465 / 587 | Mail server (SMTP / SMTPS) |
| Dovecot | 110 / 995 / 143 / 993 | Mail server (POP3 / POP3S / IMAP / IMAPS) |
| MariaDB | 3306 | Local SQL Database |

---

## Links

- Manage: [https://:8080/](https://:8080/)
- ISPConfig Documentation: [https://www.ispconfig.org/documentation/](https://www.ispconfig.org/documentation/)
- Ubuntu 24.04 LTS Release Notes: [https://wiki.ubuntu.com/NobleNumbat/ReleaseNotes](https://wiki.ubuntu.com/NobleNumbat/ReleaseNotes)

Loading...