Purchase a HostGator Self-Managed VPS with aaPanel Installation
Manage your web hosting environment with aaPanel, a web hosting control panel designed to simplify server administration. Instead of relying solely on command-line tools, aaPanel provides a graphical interface that allows you to manage websites, databases, files, domains, SSL certificates, and server services from a centralized dashboard. With aaPanel, you can deploy websites, configure server applications, monitor resource usage, and perform everyday administrative tasks through a web-based interface. Whether you're managing a single website or multiple applications on a VPS, aaPanel helps streamline common server management tasks while giving you greater visibility into your hosting environment. aaPanel offers a free edition; some features and plugins may require a separate paid plan from aaPanel. With a Self-Managed VPS, you're responsible for configuring, maintaining, updating, and securing your server, your aaPanel installation, and the websites and applications you deploy.
Key Benefits of aaPanel
Managing a VPS through the command line can become increasingly complex as your websites and services grow. aaPanel provides a centralized interface that makes many common server management tasks easier to access and manage.
- Centralized Administration: Access and manage websites, databases, files, and server services from a single dashboard.
- Simplified Website Management: Perform common tasks such as adding websites, configuring domains, managing files, and setting up SSL certificates through the aaPanel interface.
- Flexible Server Management: Install and manage supported applications and services based on your hosting requirements.
- Greater Server Control: When installed on a HostGator Self-Managed VPS, aaPanel allows you to manage your hosting environment while maintaining control over your VPS configuration.
What Can You Do with aaPanel?
aaPanel offers a variety of features to help you manage and maintain your websites and server environment, including:
- Manage Websites: Add and manage websites, domains, document roots, and other website settings from the aaPanel dashboard.
- Deploy Applications: Install and configure supported web applications and server software based on your hosting requirements.
- Manage Databases: Create and manage databases and database users through the aaPanel interface.
- Manage Files: Upload, download, edit, and organize website files using the built-in file manager.
- Configure SSL Certificates: Manage SSL certificates to help secure connections to your websites.
- Monitor Server Resources: Review server information and resource usage to help monitor your VPS and troubleshoot potential issues.
- Manage Server Services: Configure and manage supported services and software directly through the aaPanel dashboard.
Installing aaPanel on a HostGator Self-Managed VPS provides a centralized interface for managing your websites and server environment. With aaPanel, you can organize, configure, and maintain your hosting resources while retaining control over your VPS and its underlying configuration.
How to Purchase a Self-Managed VPS with aaPanel

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
To use aaPanel on HostGator, you first need to buy a Self-Managed VPS plan. Here is how to do it:
- Open https://www.hostgator.com/vps-hosting in your browser.
- Pick the plan you want and click 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.
- Pick a Data Center location.

- On the Cart page, you can set up your server the way you want:
- Hardware:
- Pre-selected:
You can change to a different Self-Managed VPS plan here.

- Configure:
Click Configure if you want to build your own custom package.
Note: any changes you make here will change the total price.

- Pre-selected:
- Software:
The app will be grayed out if your selected plan does not meet its minimum requirements.
- Click the OS With Panel tab.
- Choose aaPanel.

- In the pop-up, click Confirm.

- Hardware:
- 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.

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

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

- Choose a billing term, check your Order Summary, then click Continue to Checkout.

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

- On the Checkout page, do the following:
If you are new to HostGator:
- Fill in your billing information and contact details. If you don't want marketing emails, uncheck the box at the bottom.

- Create a password for your account.

- Choose how you want to pay—credit card or PayPal—and enter your payment details.

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.

- Fill in your billing information and contact details. If you don't want marketing emails, uncheck the box at the bottom.
- 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.

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.
Getting Started with Your aaPanel Dashboard
After your server finishes setting up, follow these steps to open your aaPanel control panel.
- Log in to your Customer Portal.
- From the left-hand menu, navigate to Hosting and select My Plans.

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

- Click the Reset Password button.

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

- Connect to your VPS using SSH.
You'll need your VPS IP address and root credentials. Open an SSH client, follow the prompts, and enter your root password when asked:Replaceyour_server_ipwith your actual server IP address.ssh root@your_server_ipExample Output:
Welcome to Ubuntu 24.04.4 LTS (GNU/Linux 6.8.0-124-generic x86_64) ******************************************************************************** aaPanel : active - Admin Credentials --------------------------- Username : testuser Password : sudo cat /opt/aapanel/.env - Access ---------------------------------------- Panel URL : https://203.0.113.10:7800/testbc1d/ - Firewall ---------------------------------------- Ports open : 22 (SSH) 80 (HTTP) 443 (HTTPS) 7800 (Panel) For full details refer: /root/README.md - Look up your login credentials:
cat /opt/aapanel/.env
Example Output:
Last login: Mon Jun 15 23:00:22 2026 from 203.0.113.25 root@server-123456:~# cat /opt/aapanel/.env # aaPanel runtime credentials # Read this file on first boot to get your panel password: # cat /opt/aapanel/.env PANEL_PORT=7800 PANEL_PATH=/testbc1d/ PANEL_USER=testuser PANEL_PASSWORD=your_generated_password - Sign in from your browser:
Replace
your-server-ipwith your actual server IP address, and replacePANEL_PATHwith the path shown in your credentials file (for example,testbc1d).https://your-server-ip:7800/PANEL_PATH/Important:- Always use https:// and include the trailing slash at the end of your panel path.
- If the dashboard URL isn't reloading, the server may have restarted unexpectedly without cleanly shutting down the aaPanel service. When that happens, the dashboard can behave oddly. Here's how to fix it:
- Reload your system configuration
Run this command:
sudo systemctl daemon-reload - Restart the aaPanel service
Then apply the changes with:
sudo systemctl restart bt
- Reload your system configuration
- Get past the browser security warning:
aaPanel ships with a temporary self-signed SSL certificate, so your browser will flag it as untrusted. Click Advanced, then Proceed (or Continue). This warning is expected at this stage.

- Log in to your aaPanel dashboard:
Use the credentials you retrieved in step 7.

Setting Up aaPanel for the First Time
Once you're logged in, we recommend these first steps.
| Stack | Includes |
|---|---|
| LNMP | Nginx + MySQL + PHP |
| LAMP | Apache + MySQL + PHP |
| OpenLiteSpeed | LiteSpeed + MySQL + PHP |
- Choose and install a web server stack.
- Add your first website.
aaPanel creates the web directory, database, and Nginx or Apache configuration for you automatically.

- Optionally, install WordPress or another application.
- Optionally, set up a fully trusted SSL certificate.
- Update your panel password.
You can change your login credentials at any time. Go to Settings, open Authentication & Security, and select Modify. Then set a new username and password and save your changes.

Additional Information and Examples
Run cat /root/README.md on your server for a full rundown of commands and reference details:
root@server-123456:~# cat /root/README.md
# aaPanel
## Description
aaPanel is a free, beginner-friendly web hosting control panel that lets you manage your entire web server from a simple browser interface.
With a few clicks you can install WordPress, PHP, MySQL, Nginx, or Apache - no command-line experience needed.
This image comes with aaPanel pre-installed and ready to use.
On first boot, a secure 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 admin password and starts the panel service.
You do not need to do anything during this time.
### Step 2 - Get your login credentials
SSH into your server and run:
```bash
cat /opt/aapanel/.env
```
You will see output like this:
```
PANEL_PORT=7800
PANEL_PATH=/abc12345/
PANEL_USER=youruser
PANEL_PASSWORD=YourGeneratedPassword
```
Save these details - you will need them to log in.
### Step 3 - Open the panel in your browser
Using the values from Step 2, open your browser and go to:
```
https://:7800//
```
For example:
```
https://203.0.113.10:7800/abc12345/
```
> **Browser warning:** aaPanel 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 `PANEL_USER` and `PANEL_PASSWORD` from Step 2.
---
## Next Steps
Once you are logged into aaPanel, here is what to do next.
### 1. Install a web server stack
On the aaPanel dashboard, click **One-Click** and choose your stack:
| Stack | Includes |
|-------|---------|
| LNMP | Nginx + MySQL + PHP |
| LAMP | Apache + MySQL + PHP |
| OpenLiteSpeed | LiteSpeed + MySQL + PHP |
Click **Install** and wait for the installation to complete (5-10 minutes).
### 2. Add your first website
Go to **Website** then **Add Site**.
Enter your domain name or server IP and click **Submit**.
aaPanel will automatically create the web directory, database, and Nginx/Apache config for you.
### 3. Install WordPress or another app (optional)
Go to **App Store** in the left menu.
Search for **WordPress** and click **Install**.
Follow the on-screen wizard to complete the installation.
### 4. Set up a real SSL certificate (optional)
Go to **Website**, click your site, then click **SSL**.
Click **Let's Encrypt** and enter your domain to get a free trusted certificate.
This replaces the self-signed certificate and removes the browser warning.
### 5. Change your panel password
For security, change your panel password after first login:
- Go to the top-right user icon then **Change Password**
- Or run from the server: `bt 5`
---
## Access
| URL | Purpose |
|-----|---------|
| `https://:7800//` | aaPanel control panel |
> The panel path (e.g. `/abc12345/`) is unique to your instance and is a security feature.
> Always read it from `/opt/aapanel/.env` - it is different on every deployment.
---
## Credentials
All credentials are stored in:
```bash
cat /opt/aapanel/.env
```
| Field | Description |
|-------|-------------|
| `PANEL_PORT` | Panel port (default: 7800) |
| `PANEL_PATH` | Unique URL path to the panel |
| `PANEL_USER` | Admin username (randomized at install) |
| `PANEL_PASSWORD` | Admin password (generated at first boot) |
To view the first boot setup log:
```bash
grep -A 6 "First Boot Credentials" /var/log/cloud-init-output.log
```
---
## Managing the Server
### aaPanel Service
```bash
# Check if panel is running
systemctl status bt
# Restart the panel
systemctl restart bt
# Stop the panel
systemctl stop bt
```
### bt CLI Quick Reference
```bash
bt # Show panel URL, port, and path
bt 5 # Change admin password
bt 8 # Change panel port
bt 10 # Show panel error logs
bt 16 # Restart panel
```
### Firewall
```bash
# View open ports
ufw status verbose
# Open a new port (e.g. MySQL for remote access)
ufw allow 3306/tcp
```
### Logs
```bash
# Panel error log
tail -f /www/server/panel/logs/error.log
# First boot setup log
cat /var/log/cloud-init-output.log
```
---
## Troubleshooting
### Panel URL not opening in browser
1. Check the panel is running: `systemctl status bt`
2. Check port 7800 is listening: `ss -tlnp | grep 7800`
3. Check firewall allows port 7800: `ufw status | grep 7800`
4. Make sure you are using `https://` not `http://`
### Password not working
Run this on the server to reset your password:
```bash
bt 5
```
Enter a new password when prompted, then try logging in again.
### First boot did not run
If `/opt/aapanel/.env` still shows `CHANGEME_ON_BOOT`, run the setup 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:
```bash
cat /opt/aapanel/.env
```
---
## Security
| Feature | Detail |
|---------|--------|
| Firewall | UFW enabled - only ports 22, 80, 443, 7800 open by default |
| SSH | Rate limited on port 22 to block brute force attempts |
| Panel password | Never baked into the image - randomly generated at first boot |
| Credentials file | `/opt/aapanel/.env` is readable by root only (mode 0600) |
| Panel URL | Random path (e.g. `/abc12345/`) obscures the admin login page |
| Panel SSL | HTTPS enabled by default with a self-signed certificate |
---
## Services
| Service | Port | Purpose |
|---------|------|---------|
| aaPanel (bt) | 7800 | Web hosting control panel |
| OpenSSH | 22 | Remote server access |
Additional services such as Nginx, Apache, MySQL, and PHP are installed
and managed through the aaPanel interface after first boot.
---
## Links
- Manage: [https://:7800/](https://:7800/)
- aaPanel Official Documentation: [https://www.aapanel.com/reference.html](https://www.aapanel.com/reference.html)
- aaPanel Install Guide: [https://www.aapanel.com/new/install.html](https://www.aapanel.com/new/install.html)
- Ubuntu 24.04 LTS Release Notes: [https://wiki.ubuntu.com/NobleNumbat/ReleaseNotes](https://wiki.ubuntu.com/NobleNumbat/ReleaseNotes)root@server-123456:~#