Loading...

Knowledge Base

Purchase a HostGator Self-Managed VPS with Open WebUI Installation

Manage and interact with AI models through Open WebUI, a self-hosted AI platform that provides a web-based interface for conversations, model management, knowledge bases, tools, and other AI capabilities. Open WebUI can connect to Ollama, OpenAI, Anthropic, and other OpenAI-compatible providers. You can chat with AI models, upload files, create knowledge bases, search the web, use tools, build specialized model configurations, and manage conversations directly from your browser. When you use the built-in local model, your prompts stay on your server. HostGator Self-Managed VPS plans don't include dedicated GPUs, so local models run on the CPU and may respond slowly. If you connect an external provider, such as OpenAI or OpenRouter, your prompts and any files you share are sent to that provider, and provider usage may incur separate charges. With a Self-Managed VPS, you're responsible for configuring, maintaining, updating, and securing your server, your Open WebUI installation, and the user accounts you create.

Key Benefits of Open WebUI

Open WebUI provides a centralized interface for working with AI models and AI-powered tools.

  • Multi-Model AI Interface: Connect to multiple AI model providers and interact with their models from a single interface.
  • Chat and Conversation Management: Create, continue, organize, and manage AI conversations.
  • Knowledge Bases and RAG: Upload documents and create knowledge bases that models can search when responding to requests.
  • Custom AI Models and Agents: Create specialized model configurations with custom instructions, tools, knowledge, and parameters.
  • Web Search: Enable AI models to search the web and use online information during conversations.
  • Tool and Function Support: Extend model capabilities with tools, functions, MCP servers, and OpenAPI-compatible services.
  • File and Image Support: Upload documents, images, and other supported files for AI-powered analysis.
  • Automations: Schedule prompts to run automatically on recurring schedules.
  • Multi-User Access: Create and manage users, groups, roles, and permissions to control access to AI resources.
  • API Access: Connect external applications and services to models configured in Open WebUI through its API.

What Can You Do with Open WebUI?

Open WebUI provides tools for interacting with AI models and creating customized AI workflows. You can:

  • Chat with AI Models: Send prompts and interact with connected AI models.
  • Connect Multiple AI Providers: Configure Ollama, OpenAI, Anthropic, and other compatible AI model providers.
  • Compare Models: Run multiple models side by side and compare their responses.
  • Upload Documents and Images: Provide files and images as context for AI conversations.
  • Create Knowledge Bases: Add documents that models can retrieve information from when answering questions.
  • Create Custom AI Models: Combine models with custom instructions, knowledge, tools, and parameters.
  • Search the Web: Allow models to retrieve information from online sources during conversations.
  • Use AI Tools: Connect tools and external services that extend model capabilities.
  • Use MCP and OpenAPI Services: Connect compatible external tools and services through supported integrations.
  • Run Code: Use supported code-execution capabilities for tasks that require programmatic processing.
  • Create Automations: Schedule prompts and recurring AI tasks.
  • Manage Conversations: Organize conversations using folders, tags, and other available management features.
  • Manage Users and Access: Configure users, groups, roles, and permissions for shared Open WebUI environments.
  • Access Models Through APIs: Connect external applications to models configured in Open WebUI.

Open WebUI on a HostGator Self-Managed VPS provides a centralized interface for interacting with AI models and AI-powered tools. You can connect to multiple AI model providers, work with documents and knowledge bases, use tools and web search, create customized AI models, and manage AI conversations from a single self-hosted platform.

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
CPU 2 vCPUs 4 vCPUs
RAM 2 GB 4 GB
Disk 20 GB 40 GB

How to Purchase a Self-Managed VPS with Open WebUI

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 Open WebUI 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 Application tab.
      2. Choose Open WebUI.

        Self-Managed VPS - Open WebUI Software
         

      3. In the pop-up, click Confirm.

        Self-Managed VPS - Open WebUI - 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.

Getting Into Your Dashboard

Phase 1: Set Up and Secure Your VPS

  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.
    Open your computer's terminal (or an SSH client like PuTTY) and run the following command to log into your server as the administrator, using your server's public IP address:
    ssh root@your_server_ip
    Follow the prompts and enter the new root password you created in the step above.
  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

Phase 2: Access and Configure Open WebUI

  1. Locate your server's public IP address. You can find it in your Customer Portal.
  2. Open your browser and go to https://<your-server-ip>. (Example: https://12.3.456.789)
  3. Click Get Started on the landing page.

    Open WebUI Landing Page
     

  4. You'll be asked to create an account. Fill in the required details to finish signing up.

    Open WebUI - Sign-up Page
     

  5. Once your account is set up, you'll land on your dashboard.

    Open WebUI Dashboard
     

Pick Your AI Model

Out of the box, you can chat with the preinstalled llama3.2:1b model. If you'd like to use larger models, such as Claude (Anthropic), ChatGPT (OpenAI), or models available through OpenRouter, follow the steps in Step 3 of the README:

  1. On the site, click your profile icon in the lower-left corner, then select Admin Panel.

    Open WebUI - Admin Panel
     

  2. Then click Settings → Connections → OpenAI API.

    Open WebUI Settings-Connection
     

  3. Provide your API Base URL along with your personal secret API Key from your chosen provider.
  4. Save your settings, and those models will show up in your chat dropdown menu.

Handy Commands (For When Things Go Wrong)

The README includes several commands you can run directly in your server terminal (root@server-12345:~# ) to see what's going on under the hood:

  • Confirm the chat app is up and running:
    systemctl status open-webui
  • If the site freezes up or you've changed a backend setting and need to force a refresh:
    systemctl restart open-webui
  • If you spot an error and want to check the last 100 lines of system logs to troubleshoot:
    journalctl -u open-webui -n 100

Additional Information and Examples

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

Example Output:

root@server-123456:~# cat /root/README.md
# Open WebUI

## Description

Open WebUI is a self-hosted, feature-rich web interface for interacting with large language models.

It supports OpenAI-compatible APIs, Ollama, and a wide range of LLM providers, giving you full control over your AI chat experience without sending data to third-party services.

This image ships Open WebUI on Ubuntu 24.04, served via Nginx with HTTPS support. On first boot, a secret key is generated and all services start automatically.


## Services

| Service   | Port    | Purpose                                        |
|-----------|---------|------------------------------------------------|
| Open WebUI| 8080    | Open WebUI application (internal only)         |
| Ollama    | 11434   | LLM inference backend (internal only)          |
| Nginx     | 80, 443 | TLS termination and reverse proxy to port 8080 |
| OpenSSH   | 22      | Remote access                                  |

Ports are protected using UFW. Port 8080 is not exposed externally.


## How-to-use

### 1. Access Open WebUI

Once the server has booted, open your browser and navigate to:

```
https://
```

### 2. Create your admin account

The first user to sign up automatically becomes the admin. Fill in your
name, email, and password on the sign-up page to create your account.

### 3. Connect an LLM backend

Open WebUI supports any OpenAI-compatible API. Go to:

```
Admin Area -> Settings -> Connections -> OpenAI API
```

Enter your API key and base URL for your chosen provider:

```
# OpenRouter
API Base URL : https://openrouter.ai/api/v1
API Key      : sk-or-...

# Together AI
API Base URL : https://api.together.xyz/v1
API Key      : ...

# Anthropic (via compatible proxy)
API Base URL : https://api.anthropic.com/v1
API Key      : sk-ant-...
```

### 4. Useful commands

```bash
systemctl status open-webui            # Open WebUI service status
systemctl status nginx                 # Nginx status
journalctl -u open-webui -n 100        # Recent Open WebUI logs
tail -f /var/log/open-webui/webui.log  # Live log stream
systemctl restart open-webui           # Restart Open WebUI
```

### 4. SSL / HTTPS certificate behavior

On first boot, a TLS certificate is automatically provisioned:

- A Let's Encrypt certificate is requested for the server's public IP.
- If Let's Encrypt is unavailable, a self-signed certificate is generated
  as a fallback.

Nginx terminates TLS on port 443 and proxies traffic to Open WebUI on
port 8080. The X-Forwarded-Proto: https header signals HTTPS to Open WebUI.

To manually request a Let's Encrypt certificate after deployment:

```bash
/opt/certbot/bin/certbot certonly --webroot --webroot-path /var/www/html   -m [email protected] --agree-tos --non-interactive --ip-address 

nginx -t && systemctl reload nginx
```


## Minimum Resources

| Resource | Minimum     | Recommended |
|----------|-------------|-------------|
| CPU      | 2 vCPUs     | 4 vCPUs     |
| RAM      | 2 GB        | 4 GB        |
| Disk     | 20 GB       | 40 GB       |

> The bundled **llama3.2:1b** model (~1.3 GB) can run on 2 GB RAM.
> To run larger models (7B+) add more RAM and disk accordingly.


## Image contents

This image installs and configures:

- Open WebUI (latest) installed at /opt/open-webui
- Ollama installed with **llama3.2:1b** model pre-pulled (~1.3 GB)
- Python 3 virtual environment at /opt/open-webui
- Nginx as a reverse proxy with HTTP and HTTPS support
- UFW firewall with ports 22, 80, and 443 open
- Log rotation at /etc/logrotate.d/openwebui
- This README at /root/README.md


## Security hardening

| Hardening       | Detail                                             |
|-----------------|----------------------------------------------------|
| UFW firewall    | Only ports 22, 80, 443 open. Default deny incoming |
| SSH             | Password authentication disabled                   |
| Open WebUI      | Bound to 127.0.0.1 only, not exposed externally    |
| Secret key      | Generated at first boot via openssl rand           |
| Credentials     | Stored in /root/.app_passwords (mode 0600)         |


## Configuration files reference

| File                                           | Purpose                          |
|------------------------------------------------|----------------------------------|
| /etc/systemd/system/open-webui.service         | Open WebUI systemd service       |
| /etc/default/open-webui                        | Open WebUI environment config    |
| /etc/nginx/sites-available/openwebui           | Nginx site config                |
| /root/.app_passwords                           | Generated credentials            |
| /var/log/open-webui/webui.log                  | Open WebUI application log       |
| /etc/logrotate.d/openwebui                     | Log rotation config              |


## Links

- Manage: [https://{server_ip}](https://{server_ip})
- Documentation: [https://docs.openwebui.com](https://docs.openwebui.com)
- Open WebUI GitHub: [https://github.com/open-webui/open-webui](https://github.com/open-webui/open-webui)

Loading...