Networking - Client/Server from existing project


I’ve got a working game where I can simply create a session, open a specific level.
A client can join this session.

My problem:
I have two buttons for “hosting” a session and “joining” a session.

Now I want a dedicated server, but still the same logic.
Is this easy to realize with this existing logic?