Hey guys, Jon here. I've been noticing some people are having trouble getting their HTML5 games on the net, so I've decided to make a brief tutorial on how to as, just two days ago, I was in the same shoes as you.
When I went searching for free webhosts, one thing popped out to me, a lot of them were owned by the same company with the same restrictions, so I spent two days trying to find a new host that was a good option for uploading a html game, and just last night I found one, freewebhostingarea.
So let the tutorial begin!
1) Make your website with http://www.freewebhostingarea.com/
If you already have a domain registered go ahead and use the domain (Keep in mind that some free sites have a hard time accessing content through your own domain so you'll have to use the public url they provide you, as pointed out by Icuurd) , but if you don't (like me) use the first bar, fill in what you want your website address to look like. You will then be taken to a page where you set up your account and complete a captcha.
And BAM! You have a webpage. Take note of the FTP information it gives you, as we'll need that later in the next step:
2) Download the FTP client at http://filezilla-project.org/
You will only need the client to interface with your new website. After you have installed FileZilla, run it and you will notice your files on the left and a blank page on the right, that's where all the directories and files of your website will be located.
So log in at the top with the information you got on the site registration page at the port 21 (the default FTP port) and you the right pane will be filled with all of the files created with the website.
3) Putting your game on the website
This is as simple as dragging the html5game folder, scripts folder, and index.html file (that is created when you compile your project) onto your site, but first it will be best if you create a new directory in your site dedicated for your game and then putting all of the files in there. This is just a matter of right-clicking and opting to create a new directory.
And that's about all there is.
Your link to that game (if you did not rename the index.html file) will be the directory you created after the website.
Example: I created the website jonp.freevar.com and listed my html projects under their own folder at /HTML5/*
So if I wanted to link to the SmartGrid index.html all I would have to do is give the link jonp.freevar.com/HTML5/SmartGrid (It IS case sensitive)
I'm not the most experienced when it comes to stuff like this, but I hope I've helped some of you.
Edited by True Valhalla, 15 May 2012 - 03:20 AM.