FastDL (Fast Download) is a method of delivering custom content such as maps, sounds, or models via an external web server instead of directly from the game server. This allows players to download content faster and reduces the load on your server.
To use FastDL, you need access to a public HTTP web server. This can 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 Day of Defeat: Source game server from 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 also create the same directory structure on the web server for FastDL to work properly.
Upload your FastDL files via SFTP or FTP (e.g., with FileZilla or WinSCP) to the public web directory on your web server, usually /var/www/html on nginx and Apache running Debian/Ubuntu. The guide Set up Nginx and Apache on a Linux server shows you how to set up nginx or Apache on your VPS, and VPS: Connect via SFTP explains how to connect via SFTP.
Create a folder named fastdl in your web server's web directory. Inside it, create subfolders such as maps, sound, or models, depending on the content you want to serve. The directory structure must exactly match the one used by your Day of Defeat: Source game 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 into .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 that all directories and files have the correct read permissions so they are publicly accessible. You can adjust the permissions in your SFTP program or with chmod, for example.
Once everything has been uploaded and the permissions have been set, your FastDL content will be available at the following public URL:
https://[deine-domain]/fastdl/
We recommend testing the URL in your browser to make sure the files are accessible.
In the Files tab, open the custom.cfg file in the dod/cfg folder and add the following lines. If the file does not exist yet, create it there. Do not add the lines to server.cfg: your server rewrites that file every time it starts and then executes your custom.cfg.
sv_downloadurl "https://[deine-domain]/fastdl/"
sv_allowdownload 1
sv_allowupload 0
Make sure the FastDL URL exactly matches the directory structure on your web server. After saving, restart your game server for the settings to take effect.
FastDL is quick and reliable to set up with your own web server. This lets you serve custom content quickly and efficiently and improve the player experience on your Day of Defeat: Source game server.
Our support team is here to help every day if you have any questions or run into problems—don't hesitate to contact us! 🙂
