
How to Set Up a FiveM Server on a VDS: Step by Step
A complete FiveM server setup guide: txAdmin installation, server.cfg configuration, framework choice, database setup and performance tips on a VDS.
How to Set Up a FiveM Server on a VDS
FiveM is the platform behind most custom multiplayer experiences built on GTA V. Running your own FiveM server starts with reliable game server infrastructure. This guide covers the entire process, from an empty VDS to a running roleplay server.
System Requirements for a FiveM Server
Hardware choice decides whether your FiveM server runs cleanly. Here are the minimum and recommended specs:
| Component | Minimum | Recommended |
|---|---|---|
| Processor | 2 cores | 4+ cores (high frequency) |
| RAM | 4 GB | 8-16 GB |
| Storage | 30 GB SSD | 60+ GB SSD |
| Network | 100 Mbps | 1 Gbps+ |
| Operating system | Windows Server / Linux | Windows Server 2019+ |
💡 White Bilişim’s Xeon Enterprise VDS packages pair Intel Xeon Gold 6230R processors with a 10 Gbps network and make an ideal starting point for FiveM. The ENT-3 package (4 cores, 6 GB RAM, 60 GB SSD) comfortably runs a mid sized FiveM server.
Step 1: Ordering the VDS
The first step is buying a VDS (Virtual Dedicated Server) to host the FiveM server. What to check before you order:
- Istanbul location: low ping for your players in Turkey
- DDoS protection: FiveM servers get attacked often
- High bandwidth: a 10 Gbps or better uplink
- SSD storage: fast file read and write performance
White Bilişim covers all of this from the Istanbul/Datacasa location, with a 10 Gbps network and free daily backups.
Step 2: Connecting to the Server
RDP on Windows Server
If you went with Windows Server, connect over Remote Desktop:
- Type “Remote Desktop Connection” in the Start menu
- Enter your server IP address
- Sign in with your username and password
SSH on Linux
If you chose Linux, connect over SSH with PuTTY or a terminal:
ssh root@YOUR_SERVER_IPStep 3: Downloading the FiveM Server Artifact
Grab the latest FiveM server artifacts from the official Cfx.re site:
# Create the directory
mkdir /home/fivem-server
cd /home/fivem-server
# Download the artifact (Linux)
wget https://runtime.fivem.net/artifacts/fivem/build_proot_linux/master/LATEST_BUILD_URL
# Extract the archive
tar -xvf fx.tar.xzOn Windows Server you can download the artifact in a browser and extract it into a folder.
Step 4: Installing and Configuring txAdmin
txAdmin is the web interface most FiveM owners use to manage their server:
- Run
FXServer.exe(Windows) or./run.sh(Linux) - Open
http://YOUR_SERVER_IP:40120in your browser - Copy the txAdmin PIN from the console output
- Sign in with your Cfx.re account
- Set the server name and path
Choosing a Deployment Recipe
txAdmin can install popular frameworks for you:
- QBCore: the most popular and most complete RP framework
- ESX (es_extended): the classic, dependable option
- Custom: build your own setup
Step 5: Getting a Keymaster License Key
Create your server license key in the FiveM Keymaster portal:
- Sign in with your Cfx.re account
- Click “Register a new server”
- Fill in your server details
- Add the generated key to your
server.cfg
sv_licenseKey "YOUR_LICENSE_KEY"Step 6: Configuring server.cfg
Set the core options of your server in server.cfg:
# Server information
sv_hostname "Your Server Name | whitebilisim.com"
sv_maxclients 64
sv_licenseKey "YOUR_LICENSE_KEY"
# Server password (optional)
# sv_password "yourpassword"
# RCON password
rcon_password "strong_rcon_password"
# Locale
sets locale "tr-TR"
# Steam Web API key
set steam_webApiKey "STEAM_API_KEY"
# Database connection (QBCore/ESX)
set mysql_connection_string "mysql://root:password@localhost/fivem_db"Step 7: Setting Up the Database
Most FiveM frameworks need MariaDB or MySQL:
# Installing MariaDB (Linux)
sudo apt update
sudo apt install mariadb-server -y
sudo mysql_secure_installation
# Create the database
mysql -u root -p
CREATE DATABASE fivem_db;FiveM Performance Tips
To get the most out of your server:
- Remove scripts you do not use: every script costs CPU and RAM
- Optimize the database: review your indexes regularly
- Enable OneSync: required for high player counts
- Keep artifacts current: always run a recent build
- Watch resource usage: the txAdmin performance panel is there for this
Picking a VDS for a High Performance FiveM Server
If you are planning 50+ players, custom vehicles and script heavy gameplay, you will need more than an entry level machine.
🚀 Our Ryzen Premium VDS packages use AMD Ryzen Threadripper PRO 5975WX processors and deliver outstanding single core performance for FiveM. That headroom keeps script heavy servers free of stutter and lag.
White Bilişim Package Suggestions for FiveM
| Server Size | Suggested Package | Specs |
|---|---|---|
| Small (1-20 players) | ENT-3 | 4 cores, 6 GB RAM, 60 GB SSD |
| Medium (20-50 players) | ENT-5 | 8 cores, 10 GB RAM, 100 GB SSD |
| Large (50-100 players) | PRO-4 | 8 Ryzen cores, 10 GB RAM, 100 GB SSD |
| Mega (100+ players) | PRO-7 | 16 Ryzen cores, 20 GB RAM, 200 GB SSD |
Common Problems and Fixes
“Could not find resource” error
Make sure the script files sit in the correct place inside the resources folder and that they are loaded with an ensure line in server.cfg.
High ping and lag
- Check your server location (Istanbul is ideal for players in Turkey)
- Remove scripts you do not need
- Optimize your database queries
Cannot reach txAdmin
Make sure port 40120 is open on the firewall.
Conclusion
Setting up a FiveM server takes some technical knowledge, but with the right infrastructure and this guide the process is manageable. White Bilişim provides Istanbul based hosting with a 10 Gbps network, DDoS protection and 24/7 technical support. If you want anti cheat coverage as well, a FiveGuard license is available from the same panel.
👉 Take a look at our Xeon Enterprise VDS or Ryzen Premium VDS packages and start building your own FiveM server.