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.
- Do not purchase a server that only meets the minimum requirements. The minimum specifications represent the software's bare survival threshold and do not account for operating system overhead or production workloads. Running with only 2 vCPUs, 2 GB RAM, and 20 GB of disk space can result in performance slowdowns, system freezes, or unexpected crashes during periods of high usage.
- For a stable deployment, we recommend using at least 4 vCPUs, 4 GB RAM, and 40 GB of disk space. Consider allocating additional disk space if you plan to store application data, logs, backups, or future growth.
| 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

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

- 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 Into Your Dashboard
- Ollama: Runs AI models locally on your server. A small model, llama3.2:1b, comes preinstalled.
- Open WebUI: The chat interface you use in your browser. It sends your requests to Ollama or to an external provider you connect, such as OpenAI.
- Nginx: A reverse proxy that receives web traffic on ports 80 and 443, handles HTTPS, and forwards requests to Open WebUI.
- UFW (Firewall): Blocks incoming traffic except web traffic and SSH. Review and adjust the rules to fit your setup.
Phase 1: Set Up and Secure Your VPS
- 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 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:Replaceyour_server_ipwith your actual server IP address.
Follow the prompts and enter the new root password you created in the step above.ssh root@your_server_ip - 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
- Locate your server's public IP address. You can find it in your Customer Portal.
- Open your browser and go to https://<your-server-ip>.
Replace(Example:
<your-server-ip>with your actual server IP address.https://12.3.456.789)A Note on Security: Your browser may show a "Your connection is not private" warning if your server is using a temporary self-signed 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. - Click Get Started on the landing page.
Important: The first account created on this site automatically becomes the admin. Create your account as soon as your server is ready, so no one else can register first and take control. After that, only create accounts for people you trust, since users can upload files, use tools, and send prompts to any provider you connect.

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

- Once your account is set up, you'll land on your 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:
- On the site, click your profile icon in the lower-left corner, then select Admin Panel.

- Then click Settings → Connections → OpenAI API.

- Provide your API Base URL along with your personal secret API Key from your chosen provider.
Sign up for a developer account with the AI provider of your choice to get your credentials:
- OpenRouter: OpenRouter works as a single gateway to models from many providers, such as Anthropic Claude, OpenAI ChatGPT, Google Gemini, and DeepSeek.
- Go to
openrouter.ai, then Sign up. - Click Create Key, give it a name (for example, "Open WebUI VPS"), and click Create.
- Save the key right away. It won't be shown again. It'll look something like: sk-or-v1-xxxx...
- Your Base URL:
https://openrouter.ai/api/v1
- Go to
- OpenAI:
- Head to
platform.openai.com(the developer platform) and sign up. - In the left sidebar, click API Keys.
- Click Create new secret key, name it, and copy it right away. It'll look like: sk-proj-xxxx...
- Your Base URL:
https://api.openai.com/v1
- Head to
- OpenRouter: OpenRouter works as a single gateway to models from many providers, such as Anthropic Claude, OpenAI ChatGPT, Google Gemini, and DeepSeek.
- 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)