How would I make a dedicated multiplayer server?

I have not done this but my research says you have to download the source code of Unreal Engine, change some things, compile that custom version of the engine, and migrate your project to it.

The specific changes you have to make are listed
Here: