Hosts
The externally reachable address, port and SNI that subscription links are built from.
This page is still being written. The details below will grow.
Overview
A host is the address, port and SNI combination that goes into the links your subscribers receive. It is deliberately separate from the inbound’s real binding, so what a client is told to connect to can differ from where the listener actually sits, and that is how you point clients at a CDN, a second domain, or a different port than the one Xray binds. Host templates let you apply the same host configuration across many inbounds at once.
Before you start
- You need inbounds configured first, because a host describes how clients reach one.
- Changing a host changes every subscription link generated from it, so expect clients to need a subscription refresh.
Steps
- Open Server → Hosts from the sidebar. The header shows how many hosts are configured.
- Search or filter to find the hosts you want to work on.
- Select several hosts to act on them together, so you can add a tag to all of them at once, or Apply Template to push a saved host configuration across the selection.
- Open a host to edit its settings individually.