FastDL (Fast Download) is a method of delivering custom content such as maps, sounds, or models from an external web server instead of directly from the game server. This gives players faster downloads 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 either option.
You need an active Left 4 Dead 2 game server at ZAP-Hosting and a web server that is publicly accessible over HTTP, such as your own VPS with 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 smoothly.
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. For instructions on setting up nginx or Apache on your VPS, see Setting up Nginx and Apache on a Linux server. For instructions on connecting via SFTP, see VPS: Connecting 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 folder structure must exactly match the one used by your Left 4 Dead 2 game server.
Before uploading the files, make sure they are compressed in .bz2 (bzip2) format. 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.
You can use tools such as 7-Zip to prepare your files for FastDL by compressing 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 with chmod, for example.
Once everything has been uploaded and the permissions are set, your FastDL content will be available at this public URL:
https://[your-domain-name]/fastdl/
We recommend testing the URL in a browser to check that the files are accessible.
Open the Files tab for your game server and navigate to the left4dead2/cfg folder. Create the custom.cfg file if it doesn't already exist, then add the following lines:
sv_downloadurl "https://[your-domain-name]/fastdl/"
sv_allowdownload 1
sv_allowupload 0
Your server regenerates 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 changes, 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 at high speed and significantly improve the player experience on your Left 4 Dead 2 game server.
Our support team is here to help every day if you have any questions or problems—don't hesitate to contact us! 🙂
