SearXNG on a VPS (2026): Private Metasearch Engine

Published on | Updated on

Run SearXNG on a Space-Node VPS for private, fast search across the web

Written by Jochem, Infrastructure Expert, 5-10 years experience in game server hosting, VPS infrastructure, and 24/7 streaming solutions. Read author bio →

searxng private search vps 2026

SearXNG is a privacy-friendly metasearch engine you can run yourself.

Search

Table of Contents

  1. Why SearXNG
  2. VPS specs
  3. Install overview
  4. Instance settings
  5. Maintenance
  6. Hardening tips
  7. Related guides

1. Why SearXNG

Fast, private search for your team or community.

2. VPS specs

Modest CPU and RAM; SSD for speed.

3. Install overview

Use Docker; configure engines and HTTPS. Create an .env for secrets, map a persistent volume, and place SearXNG behind Nginx Proxy Manager or Caddy for TLS. Keep logs modest and set appropriate rate limits.

4. Instance settings

Tune rate limits and enable privacy options. Disable tracking engines you do not need, reduce outgoing.requests concurrency on small VPS plans, and enable safe search where appropriate for communities.

5. Maintenance

Update regularly; monitor usage. Track CPU and RAM footprints, rotate logs, and back up configuration. Consider Prometheus or Uptime Kuma for basic availability checks.

6. Hardening tips

Run behind a reverse proxy with TLS, enforce strong admin credentials, and set sensible request rate limits. Keep the instance private for small teams, or publish public instances with clear usage policies.

7. Related guides

See /vps-hosting for plans.

Why self-host SearXNG

SearXNG is a metasearch engine: it queries Google, Bing, DuckDuckGo, Brave, Wikipedia, etc. and aggregates results. Your IP never reaches the upstream search engines; they only see your VPS.

What you get:

  • No tracking, no profile building.
  • No filter bubble (results not personalized to your history).
  • Custom search engine for browsers, replacing Google as default.
  • API access for scripts and Discord/Slack bots.

What you don't get:

  • Better ranking than Google. Aggregation is convenience, not improvement.
  • Total anonymity. Your VPS IP is the new identifier; rotate or share.

VPS sizing

Daily searchesvCPURAMBandwidth
Personal use (< 100/day)1512 MBminimal
Family / small group (100-1000)11 GBa few GB/month
Public instance (1k-10k)22 GB50+ GB/month

SearXNG itself is light. The bottleneck at scale is upstream rate-limits (Google starts CAPTCHAing a single IP after 50-100 queries/min).

docker-compose

services:
  searxng:
    image: searxng/searxng:latest
    container_name: searxng
    ports:
      - "127.0.0.1:8080:8080"
    volumes:
      - ./searxng:/etc/searxng
    environment:
      - SEARXNG_BASE_URL=https://search.example.com/
      - INSTANCE_NAME=my-searxng
    restart: always

  redis:
    image: redis:7-alpine
    restart: always
    command: redis-server --save "" --appendonly no

Reverse proxy 8080 with Caddy:

search.example.com {
  reverse_proxy 127.0.0.1:8080
}

settings.yml essentials

server:
  secret_key: "GENERATE_64_HEX_CHARS"
  limiter: true
  image_proxy: true

search:
  safe_search: 0
  autocomplete: "duckduckgo"
  default_lang: "en"

ui:
  default_theme: simple
  infinite_scroll: false

limiter: true activates the bot detection / rate limiter. Without it a public instance gets scraped within a day.

Public vs private instance decision

NeedRun privateRun public
Personal anonymityyesno
Family / friendsyesno
Helping the privacy ecosystemnoyes (with rate limits, abuse handling, terms of service)

Public instances need:

  • TLS (Let's Encrypt via Caddy).
  • Limiter with Redis.
  • Anti-bot rules in nginx/Caddy (rate-limit by IP).
  • A privacy policy.

Common breakage

SymptomCauseFix
Many engines return "no results"upstream rate-limitsenable more engines, randomize order
CAPTCHA pages from Googleover the limitadd more engines, use private instance
Redis connection refusedwrong host name in settingsuse service name "redis" not "localhost"
Browser doesn't add as default searchOpenSearch xml not exposedset SEARXNG_BASE_URL to https URL

Browser integration

Firefox and Chromium auto-detect SearXNG via OpenSearch. Once visited, right-click the URL bar > Add Search Engine. Set as default for distraction-free, ad-free, profile-free search.

Jochem

About the Author

Jochem, Infrastructure Expert, expert in game server hosting, VPS infrastructure, and 24/7 streaming solutions with 5-10 years experience.

Since 2023
500+ servers hosted
4.8/5 avg rating

I specialize in Minecraft, FiveM, Rust, and 24/7 streaming infrastructure, operating enterprise-grade AMD Ryzen 9 hardware in Netherlands datacenters.

View my full bio and credentials →

Launch Your VPS Today

Get started with professional VPS hosting powered by enterprise hardware. Instant deployment and 12/7 support included.