How to: Banner and Message of the Day

General Support & Discussion related to the Left 4 Dead series, including L4D2.
Post Reply
No Longer a Newb
Posts: 16
Joined: Sun Nov 22, 2009 7:37 pm

How to: Banner and Message of the Day

Post by kgk884 » Tue Nov 24, 2009 3:01 am

There seems to be a lot of people confused as to how you get your banner and message of the day to display in game. Since not everyone is at the same level here, I thought I'd make a very simplified way of getting this done for beginners:

First, let me explain how the banner and MotD (message of the day) are fetched by the server and displayed in game.

On your server in the following directory:
/left4dead2/[YOUR IP AND PORT]/left4dead2/left4dead2
You will see a host.txt file and a motd.txt file. These are the files your server uses to pull up the banner (host.txt) and message of the day (motd.txt). If you open these files in Firefox, or simply download them to your desktop and open them, you will see each simply has an html address contained within. If you type this address into Firefox, you will see it pulls up pages with nothing but an image. Specifically, the banner and MotD.

It would be easy if you could simply paste an http image address into the host and motd .txt files , but Steam servers cannot display that in game. It can only direct to an html page. Therefore you need to display the image on a web page, and will need web space.

Go to and register for a free account. All you need is your banner.jpeg, motd.jpg and two html pages, so any free web host will suffice. Once you've done this, upload both your images and create two new pages, named preferably "banner" and "motd" for simplicity.

We're going to assume you named your banner image "banner.jpg" and your motd image "motd.jpeg". (Mine are named slightly differently, so ignore my image names)

Make sure your two html pages and image files are in the same directory, otherwise you will need to change the path of the image


*Note* You can either rename the index.html page if you want or delete it and create two new pages. Doesn't matter as this is only going to be used for your banner and MotD.

Click to edit your newly created banner and motd html pages. You can delete everything currently written within them and simply paste the following for your banner.html page:
<head><title>Left 4 Dead 411</title></head>
<body style="margin:0px;padding:1px;background:#000000;">
<img src="banner.jpg" style="width:100%;height:100%;" />
and the following for your motd.html page:
<head><title>Left 4 Dead 411</title></head>
<body style="margin:0px;padding:1px;background:#000000;">
<img src="motd.jpg" style="width:100%;height:100%;" />
Save and close them.

Now you're going to need to replace the host and motd .txt files on your game server. To do this you'll need to access the FTP. You can use any FTP transfer method, I just happen to use FireFTP (Firefox add-on). Connect to your FTP and navigate to the directory mentioned earlier.

Create two new text files using Notepad on your desktop. One named "host" and the other "motd". In your newly created host.txt file paste the address of your "host.html" page and in your newly created motd.txt file paste the address of your "motd.html" page.

*Note* uses .htm extension instead of .html, so you're pages will end with .htm, not .html


Save them and close.

Upload these files to the proper directory mentioned earlier using the FTP and click yes to overwrite the existing. Restart your server, and your banner and MotD should display.

(If anyone needs help with FTP file transfer just say so and I'll post a quick walkthrough for FireFTP.)

denzilorton22 Forum Newb
Posts: 4
Joined: Mon Jun 21, 2010 5:02 am

Re: How to: Banner and Message of the Day

Post by denzilorton22 » Mon Jun 21, 2010 6:03 am

It is such a nice information for those who people have to got the server problem every time. I think that I will try it after few hours . I have seen that Sometime the server had been not viewed the exist data. I hope that It would be helpful for it.

jorosh29 Forum Newb
Posts: 1
Joined: Fri Jul 23, 2010 1:29 am

Re: How to: Banner and Message of the Day

Post by jorosh29 » Fri Jul 23, 2010 1:49 am

It is unfortunately the best idea for the people who has the same problem,i will try this right away.

MrJames2785 Forum Newb
Posts: 2
Joined: Fri May 06, 2011 10:39 pm

Re: How to: Banner and Message of the Day

Post by MrJames2785 » Fri May 06, 2011 10:44 pm

I would really like to get the info in here but I cannot see the example image, I hope this will be fine next time.

Borrond Forum Newb
Posts: 3
Joined: Sun Sep 04, 2016 1:55 pm

Re: How to: Banner and Message of the Day

Post by Borrond » Thu Jan 26, 2017 4:32 pm

I have no idea how to get this to work. Could I get some more help please? I have a but when I copy the image address and put in my motd.txt it doesnt show up in game. Please help

Post Reply