Super-Quick: Host a simple web page through GitHub pages
There are instructions out there, but it still took me a couple of attempts to get it right. Here's the super-duper-happy-path (Expression © NancyFX ;-)):
- Create a GitHub Account
- Create a public repository named your_username.github.io (pick .gitignore and license as it suits you).
- Create a file called CNAME containing the hostname you will publish under (example).
- Create a file called index.html containing your web page.
- Sign up for a DNS provider: I use DNSimple (referral link).
- Fiddle with DNS Records automatically (highly recommended) or manually (I never got this right ...):
- Automatically: Add the GitHub Pages service from DNSimple
- Manually: Create a CNAME record from (empty (nada, silch)) to your_username.github.io
Have fun!
Comments