Skip to content

Left 4 Dead 2: Setting Up FastDL

Discover how to optimize Left 4 Dead 2 content delivery with FastDL – use your own web server for faster downloads and reduced server load

24 November 20263 min read45 Views0 helpful

Don't have your own server yet? Host your Left 4 Dead 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 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.

Requirements

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.

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. 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.

Info: Compressing with 7-Zip

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:

Code
https://[your-domain-name]/fastdl/

We recommend testing the URL in a browser to check that the files are accessible.

Configure the game server

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:

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

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.

Conclusion

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

Free tools

Left 4 Dead 2 Tools

View all

FAQ

Frequently asked questions

FastDL (Fast Download) delivers 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.
You need an active Left 4 Dead 2 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 with nginx or Apache, or any web hosting space.
They must be in .bz2 (bzip2-compressed) format. For example, upload custom_map.bsp as custom_map.bsp.bz2. You can use a tool such as 7-Zip to compress the files.

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.