How to host Foundry VTT
To play Foundry VTT online, one machine has to run the Foundry server and everyone else joins it from a web browser. These are the ways to set that up, from simplest to most hands-off.
Updated 16 November 2026
Before you start
- Buy Foundry VTT from the official Foundry website. That gives you a license key and the download.
- Only the person hosting needs the license. Players just need a browser and the address you share.
- A license key runs one server at a time.
Option 1: run it on your own computer
- Download and install the Foundry VTT application for your computer from your Foundry account.
- Start it, enter your license key, and accept the license agreement.
- Install a game system from the Game Systems tab (guides: D&D 5e, Pathfinder 2e, GURPS, Call of Cthulhu 7e, Savage Worlds, Starfinder, Warhammer Fantasy 4e, Cyberpunk RED), then create a world.
- Foundry listens on port 30000 by default. For players outside your home network to reach you, forward port 30000 (TCP) on your router to your computer's local address, allow Foundry through your computer's firewall, and give players your public address, for example
http://203.0.113.7:30000. Foundry's Setup screen shows the invitation links it detects. - If you can't forward ports (some internet providers share one public address between customers), use a tunnel service instead. It gives you a public web address that forwards to Foundry on your computer, with no router changes.
- Keep the computer and Foundry running whenever the group wants to play.
This is free and good for trying Foundry out. The drawbacks are the router setup, an address that can change, and the game being offline whenever your computer is.
Option 2: rent a server and install it yourself
A virtual private server (VPS) stays on all the time. It works well if you are comfortable with Linux, and it is a real time commitment if you are not. The outline:
- Rent a small Linux server. About 2 GB of memory is enough for most tables, and it usually costs $5 to $12 a month.
- Install the Node.js version Foundry's release notes ask for, download the Node.js build of Foundry from your Foundry account, and unzip it.
- Run Foundry as a service (with systemd or a process manager) so it starts again after a reboot or a crash.
- Point a domain name at the server and put a web server such as Caddy or nginx in front of Foundry, so players get a normal address with HTTPS instead of a port number.
- Keep the operating system patched, and set up your own backups of the
Datafolder.
Option 3: use a Foundry hosting service
A hosting service does the server work for you. You sign up, get a server with a link of your own, paste your license key into Foundry's first screen, and start building your world. Updates and backups are handled, and there is no router to configure.
That is what Loreline does. See the plans, read how hosting compares with self-hosting, or see Foundry hosts compared on price, storage and idle sleep. Coming from Roll20? Start with moving from Roll20 to Foundry.
After the server is running
- Install the modules your table likes, and test new ones in a copy of your world first.
- Upload your maps and art. Large images load slowly for players, so resize or compress oversized maps.
- Make a user for each player inside your world, give each one a password, and share the world link.
- Moving a world from another computer or host? The moving guide covers which folders to copy.
- Back up your world before big changes, whichever way you host.
An always-on Foundry server with its own link, from $4.99 a month. Bring your license key.