You bring up more questions than answers.
1. What server operating system are you using? Windows, Linux, OSX?
2. What service are you attempting to secure? Apache, IIS, NGinx, Heroku, Exchange? For every service out there the directions are a little bit different. The same process is followed, but the steps are a little different.