how to setup a server and host multiplayer online games ?

i am about to build a game like Team Fortress 2,a multiplayer FPS game with team death-match.
What server should i use ?

There is a server built into UE4. So I suggest you use that

You should watch this series:

Check out this tutorials

after my game is complete which hosting site would be the best ?

You’ll have to do some hunting to pick the host with the best price for your game’s CPU/memory/etc. usage. Probably worth setting up a server on a few different hosts too, to see how their support and ease-of-use compare. Off the top of my head, AWS, Rackspace, and Hypernia are worth looking into.

Thanks I was looking for this info :slight_smile:
So Amazon servers are fast enough?

Just wondering if we set up our own computer as server with friends as clients, the server - client model inside Unreal, does your computer need to be super fast? I mean I have a crappy laptop. It barely runs Unreal but does o.k. at lower specs. So I am just wondering if I use it as a listening server for a multi player game, how will that work? Will my crappy laptop be even slower or will the clients who have copies of the game also “help”. Thank you.

If you computer barely runs Unreal its not advised to run a server on it and you would need a good net connection as well.