Need a video guide to setup a dedicates server

The trick is, I need one that helps setup a dedicated server I can actually play on. I managed to setup one, but when I go in the game while the server is running I can’t see any servers. And I can’t launch the server if I’m in game. So I have to chose between playing and running a server. Which defeats the purpose, can’t enforce rules if you can’t join your own server!!! Does anyone know how to setup one that doesn’t affect the game? Please link me to the right video!