[{"data":1,"prerenderedAt":201},["ShallowReactive",2],{"seo-verification":3,"blog-how-to-host-open-webui-on-a-vps-ma-en":6,"promo-bar-likely":171},{"google":4,"bing":5},"EycwPY2XMyTkVzas3n1ygeNJFGAH513qrMjfDljzsMQ","",{"key":7,"data":8},"blog-how-to-host-open-webui-on-a-vps-ma-en",{"id":9,"slug":10,"slugs":11,"title":15,"excerpt":16,"readTime":17,"views":9,"isPinned":18,"noindex":18,"publishedAt":19,"updatedAt":20,"category":21,"categories":26,"featuredImage":28,"bgImage":29,"posterImage":30,"relatedSolution":31,"intro":34,"sections":35,"ctaTitle":138,"ctaBody":139,"ctaButton":140,"ctaUrl":141,"relatedPosts":142},1,"how-to-host-open-webui-on-a-vps",{"fr":12,"en":10,"ar":13,"es":14},"heberger-open-webui","كيفية-استضافة-open-webui-على-خادم-vps","como-alojar-open-webui-en-un-vps","How to Host Open WebUI on a VPS","A complete guide to deploying Open WebUI on your own VPS. Keep control of your data, avoid cloud API costs, and access your LLMs from a clean web interface.",9,false,"2026-06-01T00:00:00+00:00","2026-11-09T20:55:18+00:00",{"id":9,"name":22,"slug":23,"color":24,"icon":25},"Artificial Intelligence","intelligence-artificielle","bg-purple-500\u002F10 text-purple-400","ia",[27],{"id":9,"name":22,"slug":23,"color":24,"icon":25},null,"\u002Fblog\u002Fcovers\u002Fbg.svg","\u002Fblog\u002Fcovers\u002Fheberger-open-webui-poster.svg",{"categorySlug":32,"appSlug":33},"artificial-intelligence","open-webui","Open WebUI is an open source web interface that lets you interact with language models (LLMs) such as Llama, Mistral, or Ollama from a browser. Hosted on your own VPS, it gives you full access to your models, without relying on a third-party service and without exposing your data to external infrastructure. On a ServOrbit VPS, Open WebUI can be installed as soon as the server is created: the first part of this guide shows where to find its address and how to open it, and the manual installation is kept at the end of the article, as a fallback.",[36,40,56,59,91,101,104,107,110,114,117,120],{"type":37,"title":38,"body":39},"h2","Open WebUI installed when your VPS is created","If you chose Open WebUI when ordering your ServOrbit VPS, there is nothing to install. When the VPS is created, ServOrbit installs Docker if it is missing, then starts the official `ghcr.io\u002Fopen-webui\u002Fopen-webui:main` container, with its data in the `open-webui` volume. The interface listens on `127.0.0.1:3000`, the server's loopback interface: nothing is published on its IP address. Ollama is not included: Open WebUI alone needs 2 GB of RAM, and if you add Ollama on the same VPS, plan for at least 8 GB more for it. The four steps below are enough to open it. The manual installation, for another server or to rebuild everything yourself, is described at the end of this article.",{"type":41,"title":42,"steps":43},"steps","Open the Open WebUI installed by ServOrbit",[44,47,50,53],{"title":45,"body":46},"Find the address and access details","The “Open WebUI is installed” email and your VPS page in the client area, under “Installed applications”, tell you how to open the app: its address when a domain is in place, otherwise the SSH tunnel command and the port. You will also find the link to this guide and the “Support” button there.",{"title":48,"body":49},"Open Open WebUI without a domain","From your computer, run `ssh -L 3000:127.0.0.1:3000 root@\u003Cvps-ip>`, keep the session open, then open `http:\u002F\u002Flocalhost:3000`. The port may have been reassigned during installation: use the one shown in your client area, 3000 being only the catalogue default.",{"title":51,"body":52},"Log in for the first time","Do it right away: the first account created on the sign-up screen becomes the administrator, and the following ones stay pending your approval. Then connect your models in the admin panel, under Connections: an API key from OpenAI or a compatible service, or the address of an Ollama instance reachable from the container.",{"title":54,"body":55},"Publish over HTTPS on a domain","When Open WebUI is installed from your client area with a chosen address — your own domain or a free ServOrbit subdomain — the platform sets up the nginx vhost and the Let's Encrypt certificate. An installation made when the VPS was created, or without an address, is published from the VPS page: the “Attach a domain” button in the app's block (a domain from your account, the free subdomain, or a name you point to the server).",{"type":37,"title":57,"body":58},"Why host Open WebUI on a VPS rather than locally?","Local hosting works for testing, but it has real limits in production: it consumes machine resources, offers no remote access, and provides no high availability. A VPS solves these problems: it runs 24\u002F7, is accessible from any device, and gives you full control.\n\nThe difference from a cloud SaaS service is equally clear. A managed AI tool bills per usage, stores your conversations on third-party servers, and limits the models available. Self-hosted Open WebUI removes all three constraints: you pay for the VPS, not the requests, your data stays on your machine, and you choose the model that suits you.",{"type":60,"title":61,"headers":62,"rows":67},"comparison","Local, VPS or SaaS: which solution for Open WebUI?",[63,64,65,66],"Criterion","Local machine","Dedicated VPS","Cloud SaaS",[68,72,74,78,82,87],[69,70,71,71],"24\u002F7 access from anywhere","No","Yes",[73,71,71,70],"Data on your infrastructure",[75,76,76,77],"Free choice of LLM","Free","Limited to the offer",[79,80,80,81],"Cost beyond fixed resources","None","Per-usage billing",[83,84,85,86],"Multi-user and roles","Difficult","Yes (built-in)","Depends on plan",[88,89,90,80],"Installation and maintenance","Manual","Manual or Marketplace",{"type":92,"title":93,"items":94},"ul","What You Can Do With Open WebUI",[95,96,97,98,99,100],"Chat with local models via Ollama (Mistral, LLaMA 3, Gemma, etc.) or with the OpenAI API","Manage several models and switch between them in one click from a unified interface","Create and share custom assistants with tailored system instructions","Upload and analyse documents (PDF, text) directly in the chat thanks to built-in RAG support","Open access to your team with a system of user accounts and roles","Review the full history of your conversations, stored on your own server",{"type":37,"title":102,"body":103},"Pin the signing key from the very first start","Open WebUI signs every session token with `WEBUI_SECRET_KEY`. If you do not declare it, one is drawn at random on first launch and written into the data directory: as long as that volume persists, all is well. The day the volume is recreated, the key changes — and you get access denied with perfectly valid credentials, a misleading symptom that sends people hunting through passwords. The same key also encrypts stored secrets (OAuth tokens, API credentials): losing it does not merely drop sessions, it makes those secrets unreadable. Generate it once with `openssl rand -hex 32`, put it in your environment file, and treat it as a production secret. If you run several instances behind a load balancer they must all carry the same value, otherwise a token issued by one is rejected by another.",{"type":37,"title":105,"body":106},"Configuring multi-user access","Open WebUI includes a built-in account and role system that lets several team members share the same instance. By default, the first account created becomes the admin. Subsequent users are placed in a pending queue if you have enabled registration moderation — a recommended option to prevent a port 3000 exposed to the internet from being open to anyone.\n\nThree access levels are available: **admin** (full access to configuration, models and accounts), **user** (access to chats and shared assistants) and **pending** (access blocked until manual approval). To configure moderation:\n\n1. Log in as admin.\n2. Go to **Settings → Administration → Users**.\n3. Enable « Sign up with admin approval ».\n\nYou can also create assistants (model presets and system instructions) and share them with the whole instance or specific groups, without users having to reconfigure their session.",{"type":37,"title":108,"body":109},"Troubleshooting: common problems","**The container keeps restarting.** Check the logs: `docker logs open-webui`. The most common cause is a missing or malformed `WEBUI_SECRET_KEY` — the variable must be a non-empty hexadecimal string. If it is generated at launch without being persisted in a volume or a `.env` file, it changes on every container restart.\n\n**Ollama connection fails (\"Could not connect to Ollama\").** The default URL `http:\u002F\u002Flocalhost:11434` does not work from inside a Docker container: `localhost` refers to the container itself, not the host. Use `http:\u002F\u002Fhost.docker.internal:11434` (on Linux: add `--add-host=host.docker.internal:host-gateway` to the `docker run` command) or run both containers in the same Docker network and reference the Ollama container by its name.\n\n**502 Bad Gateway after the reverse proxy.** The Nginx proxy points to port 3000 but Open WebUI listens internally on port 8080 — the `docker run` command maps `3000:8080`. Make sure your vhost points to `http:\u002F\u002F127.0.0.1:3000`, not 8080.\n\n**WebSocket disconnecting (interface freezing).** The `Upgrade` and `Connection` headers are essential for the WebSockets the interface relies on. Check that your `proxy_set_header` block includes both.",{"type":111,"title":112,"body":113},"tip","The Official Documentation","For advanced configuration, tool-specific options and version changes, refer to the \u003Ca href=\"https:\u002F\u002Fdocs.openwebui.com\u002F\" target=\"_blank\" rel=\"noopener noreferrer\">official Open WebUI documentation\u003C\u002Fa>. This guide covers going live on a ServOrbit VPS; the vendor's documentation remains the reference for fine-tuning.",{"type":37,"title":115,"body":116},"Installing by hand (fallback)","The following sections describe installing Open WebUI by hand with Docker: for a server where Open WebUI was not installed by ServOrbit, or to rebuild everything yourself. On a VPS where ServOrbit installed it, you do not need them.",{"type":37,"title":118,"body":119},"Prerequisites","Open WebUI requires Docker to run. Ollama (if you want to run an LLM locally on the server) is RAM-hungry. Plan for at least 4 GB of RAM for a 7B model, and 8 GB for a 13B model. If you only use external APIs (OpenAI, Anthropic), 2 GB of RAM is enough for the interface.\n\nOn the storage side, Ollama models weigh between 4 and 40 GB depending on their size. Plan for a SSD volume with at least 20 GB free if you intend to download a 7B model such as Mistral or LLaMA 3.",{"type":41,"title":121,"steps":122},"Deployment in 5 steps",[123,126,129,132,135],{"title":124,"body":125},"Prepare your VPS","Order a Cloud VPS with Ubuntu 22.04 LTS. Update the system:\n\n```bash\napt update && apt upgrade -y\n```\n\nEnable the UFW firewall and allow the SSH (22), HTTP (80), and HTTPS (443) ports:\n\n```bash\nufw allow 22 && ufw allow 80 && ufw allow 443 && ufw enable\n```",{"title":127,"body":128},"Install Docker","Install Docker Engine from the official Docker repository. Add your user to the docker group to avoid repeated sudo commands:\n\n```bash\ncurl -fsSL https:\u002F\u002Fget.docker.com | sh\nusermod -aG docker $USER\n```\n\nVerify the installation: `docker run hello-world`.",{"title":130,"body":131},"Start Open WebUI","Pull the official Docker image and launch the container, exposing port 3000. Mount a volume to persist data across restarts:\n\n```bash\ndocker run -d \\\n  --name open-webui \\\n  --restart always \\\n  -p 3000:8080 \\\n  -v open-webui:\u002Fapp\u002Fbackend\u002Fdata \\\n  -e WEBUI_SECRET_KEY=$(openssl rand -hex 32) \\\n  ghcr.io\u002Fopen-webui\u002Fopen-webui:main\n```\n\nOpen WebUI is accessible at `http:\u002F\u002Fyour-ip:3000`. The `WEBUI_SECRET_KEY` variable is generated here at install time — note its value or place it in a `.env` file before restarting the container.",{"title":133,"body":134},"Configure a reverse proxy (Nginx)","Install Nginx and set up a virtual host that proxies requests to port 3000:\n\n```bash\napt install -y nginx certbot python3-certbot-nginx\n```\n\nCreate `\u002Fetc\u002Fnginx\u002Fsites-available\u002Fopen-webui` with:\n\n```bash\nserver {\n    server_name your-domain.com;\n    location \u002F {\n        proxy_pass http:\u002F\u002F127.0.0.1:3000;\n        proxy_http_version 1.1;\n        proxy_set_header Upgrade $http_upgrade;\n        proxy_set_header Connection \"upgrade\";\n    }\n}\n```\n\nActivate the vhost and get a Let's Encrypt SSL certificate: `certbot --nginx -d your-domain.com`. Your interface will be accessible over HTTPS on your domain.",{"title":136,"body":137},"Connect your models","In the Open WebUI interface, configure your API connections: local Ollama, OpenAI, Anthropic, or any other compatible provider. To start Ollama on the same VPS:\n\n```bash\ndocker run -d \\\n  --name ollama \\\n  --restart always \\\n  -v ollama:\u002Froot\u002F.ollama \\\n  -p 11434:11434 \\\n  ollama\u002Follama\n```\n\nThen download the model you want: `docker exec ollama ollama pull mistral`. In the Open WebUI settings, the Ollama URL is `http:\u002F\u002Fhost.docker.internal:11434` if both containers are on the same host. Create user accounts as needed.","Deploy your Open WebUI environment in just a few minutes.","Order a ServOrbit Cloud VPS and choose the Artificial Intelligence template during setup. Your environment is installed automatically.","Choose my VPS","\u002Fvps-cloud",[143,161,179],{"id":144,"slug":145,"slugs":146,"title":150,"excerpt":151,"readTime":152,"views":9,"isPinned":18,"noindex":18,"publishedAt":153,"updatedAt":154,"category":155,"categories":156,"featuredImage":28,"bgImage":29,"posterImage":158,"relatedSolution":159},2,"deploying-dify-on-a-vps-ai-workflows-under-control",{"fr":147,"en":145,"ar":148,"es":149},"deployer-dify-vps","نشر-dify-على-vps-سير-عمل-الذكاء-الاصطناعي-تحت-السيطرة","desplegar-dify-en-un-vps","Deploy Dify on a VPS: Complete Guide from Installation to Plugins","Install Dify on a ServOrbit VPS: requirements, Docker Compose, offline plugins, known Docker limits, backup before upgrading, and troubleshooting.",15,"2026-02-11T00:00:00+00:00","2026-10-29T03:10:23+00:00",{"id":9,"name":22,"slug":23,"color":24,"icon":25},[157],{"id":9,"name":22,"slug":23,"color":24,"icon":25},"\u002Fblog\u002Fcovers\u002Fdeployer-dify-vps-poster.svg",{"categorySlug":23,"appSlug":160},"dify",{"id":162,"slug":163,"slugs":164,"title":168,"excerpt":169,"readTime":170,"views":9,"isPinned":171,"noindex":18,"publishedAt":172,"updatedAt":173,"category":174,"categories":175,"featuredImage":28,"bgImage":29,"posterImage":177,"relatedSolution":178},7,"hosting-an-open-source-ai-application-on-your-vps",{"fr":165,"en":163,"ar":166,"es":167},"heberger-application-ia","استضافة-تطبيق-ذكاء-اصطناعي-مفتوح-المصدر-على-vps","alojar-una-aplicacion-de-ia-open-source-en-su-vps","Hosting an open source AI application on your VPS","2026 guide: choose and deploy Open WebUI, Dify, n8n or LangFlow on a VPS. RAM\u002FCPU requirements, multi-tool Docker Compose, troubleshooting.",10,true,"2026-06-13T00:00:00+00:00","2026-11-09T20:55:12+00:00",{"id":9,"name":22,"slug":23,"color":24,"icon":25},[176],{"id":9,"name":22,"slug":23,"color":24,"icon":25},"\u002Fblog\u002Fcovers\u002Fheberger-application-ia-poster.svg",{"categorySlug":32,"appSlug":33},{"id":180,"slug":181,"slugs":182,"title":186,"excerpt":187,"readTime":188,"views":189,"isPinned":18,"noindex":18,"publishedAt":190,"updatedAt":20,"category":191,"categories":195,"featuredImage":28,"bgImage":29,"posterImage":197,"relatedSolution":198},3,"install-n8n-on-vps-with-docker-complete-2026-guide",{"fr":183,"en":181,"ar":184,"es":185},"installer-n8n-vps","تثبيت-n8n-على-vps-مع-docker-دليل-شامل-2026","instalar-n8n-en-vps-con-docker","Install n8n on VPS with Docker: complete 2026 guide","Deploy n8n on VPS with Docker, reverse proxy and HTTPS. Covers V8 crash, 502 nginx, npm migration and execution security (GHSA-vrv8-j27g-g7cr advisory, August 2026).",19,4,"2026-06-05T00:00:00+00:00",{"id":144,"name":192,"slug":193,"color":194,"icon":193},"Automation","automatisation","bg-brand-action\u002F10 text-brand-action",[196],{"id":144,"name":192,"slug":193,"color":194,"icon":193},"\u002Fblog\u002Fcovers\u002Finstaller-n8n-vps-poster.svg",{"categorySlug":199,"appSlug":200},"automation-workflows","n8n",1794270427320]