How to set up a single player game online with html5

Hi,
I’m creating an online single player game which will have access through the internet from a server.
The game aspect is fine, however the server access is where we are unfamiliar. Does anyone know of or have links on how to to get started

What kinf od game is it, so it need full world replication?