how to setup(host) my localhost server to webserver ?

I have developed a multiplayer game, using networking system, which have a Server and multiple Clients . But currently, its running all on the localhost.

How do I host this game online, so that players from other places can join in to this game? Any tutorials?

I have done this with AWS ec2 instance, you just get a public IP when you run an instance, you run your server on that and connect to that IP address instead of connecting to localhost should work just fine.