Go to SRCDS\css\cstrike\cfg and check if you have there a file named server.cfg. If it is not there, create it with Notepad or Wordpad and save it with cfg extension. Then open it and copy this:
Change the Server Name and RCON password as you like.
If you want to enable bots, set the bot quota in this line: bot_quota 0 (put the number here).
Opening the server
There is only one way to open the server so pay attention !
Go to SRCDS directory an look for srcds.exe. Right click on it and select "Create Shortcut" or “Send to -> Desktop” (if you want a shortcut on your Desktop) .
Right click thr shortcut and select "Proprieties".
In the Target field leave a space after the last character and copy this:
You can costumize it :
"-console" – is for the ingame console (the one that opens with `)
"-game cstrike" – is for the counter strike game
"-secure" – is for your VAC anti cheat. If you want it disabled just type insecure instead of secure
"+maxplayers 22 – is the maximal number of slots on your server (you can change it)
"+map de_dust2 - the starting map (you can olso change it)
Patching the server
If you want your server to be Steam Only, skip this step !
But if you want it to accept non steam users, download this patch and unzipp it.
Copy the content of css-dods folder (bin,steam,rev.ini) to SRCDS\css and overwrite the existig files.
Now you have a Counter Strike Source dedicated server that accepts Steam and Non Steam users.
Now we will make sure that you can administrate your server.
In order to do this you will have to install Source Metamod and Sourcemod or Mani Admin Plugin.
See the Source Metamod installation tutorial.
See the Sourcemod installation and configuration tutorial.
See the Mani Admin Plugin tutorial.