Skip to content

Team Fortress 2: Setting Up FastDL

Learn how to optimize game content delivery with FastDL for faster downloads and reduced server load

24 November 20263 min read36 Views0 helpful

Don't have your own server yet? Host your Team Fortress 2 server with ZAP-Hosting from €4.49 / month.Or try 3 days from €0.81

Introduction

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.

Requirements

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.

Prepare the web server

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.

Info: Compressing files with 7-Zip

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:

Code
https://[deine-domain]/fastdl/

Test this by opening the URL in your browser and checking that the files are accessible.

Configure the game server

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:

cfg
sv_downloadurl "https://[deine-domain]/fastdl/"
sv_allowdownload 1
sv_allowupload 0
Info: Why not use server.cfg?

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.

Conclusion

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! 🙂

Free tools

Team Fortress 2 Tools

View all

FAQ

Frequently asked questions

FastDL (Fast Download) serves custom content such as maps, sounds, or models from an external web server instead of directly from the game server. This means faster downloads for players and less load on your server.
An active game server at ZAP-Hosting and a web server that is publicly accessible over HTTP, with SFTP or FTP access. This could be your own VPS running nginx or Apache, or any web hosting space.
They must be in .bz2 format (compressed with bzip2). For example, upload custom_map.bsp as custom_map.bsp.bz2; you can use a tool such as 7-Zip to compress it.

Feedback

Was this article helpful?

Your feedback helps us prioritize and improve content.

0 of 0 people found this article helpful.

Personal support

Need more help than the guide provides?

Our ZAP-Hosting support team knows your product — briefly describe your issue and we'll help you personally.

Zappy knows this guide and answers you right in the chat.