Skip to content

Deploying an online WebGL Game on Github Pages #22760

Answered by hlimbo
hlimbo asked this question in General
Discussion options

You must be logged in to vote

@thomasshaped I was able to figure out the steps needed to get the online game to run using secured websockets. The Unity Game WebGL client can be statically hosted on Github Pages but you are required to purchase a web domain and server with SSL certification installed. In case anyone needs steps on how to deploy an online game on Github Pages I followed the following steps:

  1. Purchased a web domain on namecheap (I got my domain for ~$9/year)
  2. Purchased a server on DigitalOcean (Ubuntu Linux) for $5/month
  3. SSH into my DigitalOcean Server using Putty for Windows
  4. Installed free SSL Certificate through https://certbot.eff.org/lets-encrypt/ubuntubionic-other on the DigitalOcean Server via LetsE…

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants