FastDL (Fast Download) is a method of delivering custom content such as maps, sounds, or models through an external web server instead of directly from the game server. This enables faster downloads for players and reduces the load on your server.
To use FastDL, you need access to a public HTTP web server. This could be your own web server (e.g. nginx or Apache) on a VPS, or any web hosting space that serves files publicly over HTTP. This guide shows you how to set up FastDL using one of these options.
You need an active Team Fortress 2 game server at ZAP-Hosting and a web server that is publicly accessible over HTTP, such as your own VPS running nginx or Apache, or any web hosting space. You must be able to upload files to the web server via SFTP or FTP.
On the game server, the files you want to distribute (e.g. .bsp maps, sound files, or models) must already be organized correctly. You must create the same folder structure on the web server for FastDL to work properly.
Upload your FastDL files via SFTP or FTP (e.g. using FileZilla or WinSCP) to your web server's public web directory, usually /var/www/html for nginx and Apache on Debian/Ubuntu. The guide Setting up Nginx and Apache on a Linux server shows you how to set up nginx or Apache on your VPS, while VPS: Connect via SFTP explains how to connect via SFTP.
Create a folder named fastdl in your web server's web directory. Inside this folder, create subfolders such as maps, sound, or models, depending on the content you want to serve. The folder structure must exactly match the one used by your Team Fortress 2 server.
Before uploading the files, make sure they are compressed in .bz2 format (bzip2). Most Source-based engines expect files in this format. For example, a map file named custom_map.bsp should be uploaded as custom_map.bsp.bz2.
To prepare your files for FastDL, you can use tools such as 7-Zip to compress them in .bz2 format. Simply right-click the file, select 7-Zip > Add to archive..., choose bzip2 as the archive format, and confirm.
After uploading the compressed files to the appropriate folders, make sure all directories and files have the correct read permissions so they are publicly accessible. You can adjust the permissions in your SFTP program or by using chmod, for example.
Once your files have been uploaded and the permissions checked, the FastDL content will be available at this public URL:
https://[deine-domain]/fastdl/
Test this by opening the URL in your browser and checking that the files are accessible.
Open the Files tab for your game server and navigate to the tf/cfg folder. Create the custom.cfg file if it does not already exist, then add the following lines:
sv_downloadurl "https://[deine-domain]/fastdl/"
sv_allowdownload 1
sv_allowupload 0
Your server recreates server.cfg every time it starts, so any changes to it are lost on the next restart. The server loads custom.cfg immediately afterward, so your settings in that file are retained and take precedence.
Make sure the FastDL URL exactly matches the folder structure on your web server. After saving the file, restart your game server for the settings to take effect.
FastDL is quick and reliable to set up with your own web server. It lets you deliver custom content quickly and efficiently, improving the gameplay experience on your Team Fortress 2 server.
Our support team is here to help every day if you have any questions or issues—don't hesitate to contact us! 🙂
