Independent testing Updated April 2026 387 self-hosting guides 5 VPS providers tested

guide

How to Self-Host Jellyfin on a VPS (Complete Guide)

Learn how to self-host Jellyfin on a VPS with a step-by-step 2026 guide covering install, configuration, and securing Jellyfin for reliable daily use.

How to Self-Host Jellyfin on a VPS (Complete Guide)

Jellyfin is a free and open-source media server that allows users to stream their media collections over the web. This guide provides a comprehensive step-by-step tutorial on how to self-host Jellyfin on a Virtual Private Server (VPS), ensuring you have full control over your media content.

Why Choose a VPS for Jellyfin?

Self-hosting Jellyfin on a VPS has numerous advantages, including:

Hereโ€™s a quick pricing comparison of some popular VPS providers ideal for hosting Jellyfin:

ProviderMonthly PriceBest For
Contabo VPS5.99 EURBudget-friendly option
Hetzner Cloud4.15 EURPerformance and value
DigitalOcean6 USDUser-friendly interfaces
Vultr6 USDGlobal presence
Linode (Akamai)5 USDDevelopment simplicity

You can find the full VPS comparison for more details on each provider.

Prerequisites

Before we start, ensure you have:

  1. A VPS account.
  2. Basic knowledge of command line usage.
  3. Access to a terminal.

Recommended minimum server specifications for Jellyfin:

Step-by-Step Guide to Install Jellyfin

Step 1: Choose and Set Up Your VPS

Select a VPS provider from the list above, create an account, and deploy a new VPS instance with your desired operating system.

For this guide, we will use Ubuntu 22.04 LTS. Assume you opted for Hetzner Cloud at 4.15 EUR/mo for a good price-to-performance ratio.

Step 2: Connect to Your VPS

Use SSH to connect to your VPS. Open your terminal and enter:

ssh root@your_vps_ip

Replace your_vps_ip with your actual VPS IP address.

Step 3: Update Your System

Run the following commands to ensure your server is up to date:

apt update && apt upgrade -y

Step 4: Install Docker

Jellyfin can be easily deployed using Docker. First, install Docker on your VPS:

apt install docker.io -y
systemctl start docker
systemctl enable docker

Verify the installation:

docker --version

Step 5: Pull the Jellyfin Docker Image

You can now download the Jellyfin Docker image:

docker pull jellyfin/jellyfin

Step 6: Run Jellyfin in Docker

To run the Jellyfin server, execute:

docker run -d \
  --name jellyfin \
  --user 1000:1000 \
  -p 8096:8096 \
  -v jellyfin_config:/config \
  -v jellyfin_cache:/cache \
  -v /path/to/media:/media \
  jellyfin/jellyfin

Make sure to replace /path/to/media with the actual path containing your media files.

Step 7: Access Jellyfin

Open a web browser and navigate to http://your_vps_ip:8096. You should see the Jellyfin web interface and can start the initial configuration.

Step 8: Configure Jellyfin

Follow the configuration wizard to specify your media libraries, user accounts, and other settings.

FAQs

How do I ensure my Jellyfin server is secure?

To secure your Jellyfin server, regularly update your server software and Jellyfin application. Implement a firewall (e.g., UFW) to restrict access to the server. Additionally, consider using a reverse proxy like Nginx with HTTPS enabled to securely access your Jellyfin server over the internet.

Can I run other applications on the same VPS?

Yes, one of the main benefits of using a VPS is the ability to run multiple applications. You can host other self-hosted applications alongside Jellyfin, as long as your VPS has adequate resources like CPU, RAM, and storage. However, monitoring resource usage is important to prevent performance issues.

How can I back up my Jellyfin data?

Backing up your Jellyfin data is essential to avoid loss. You can create backups by regularly copying the content of the /path/to/jellyfin_config volume to a safe location. You can automate this process with a cron job or use cloud backup services integrated with your VPS provider for more robust solutions.

Conclusion

Self-hosting Jellyfin on a VPS provides you with a powerful and flexible media server solution. By following the steps outlined in this guide, you can easily set up your own media server to customize your streaming experience. Whether youโ€™re a developer or a homelabber, hosting Jellyfin on a VPS is an excellent choice. Happy streaming!