To get a short and sleek subdomain for your own GitHub Page follow these 4 Steps:
If you haven’t already, now it’s time to log in to your GitHub account and set up your GitHub Page following the instructions here. To get a head start you can simply use the generator with one of the provided themes and add some reasonable content to your new page.
Now determine your js.org subdomain: either choose your username or the name of your repo according to the existing GitHub Pages URL (for
bar.js.org would be possible). More details in the wiki.
Add a file named
CNAME to your repo (in the
gh-pages branch for project pages) with a single line matching the domain you have chosen (e.g.
foo.js.org). If you face problems, check out the section Custom URLs at GitHub Pages Help.
To finish the procedure, make a pull request in this GitHub repository that adds your subdomain to the list of exisiting JS.ORG domains. Your new URL should go live within 24 hours (keep an eye on your pull request in case of a naming conflict).