Host Your Own Content For Free At Github Subdomain
# GitHub is the best place to share code with friends, co-workers, classmates, and complete strangers. If you are not familiar with GitHub you can see more information: Wiki - GitHub - Google
GitHub is a web-based hosting service for software development projects that use the Git revision control system. You can see most people consider Github just a repository for code, but there’s much more available to you at a Github user if you know how to take advantage of it. In this post you can learn how to create a subdomain from GitHub to host html website for free. We can do this with GitHub Pages and this is called user page….So lets began…
Table of Contents:
# Setting up a GitHub subdomain
To host free your html website, it is very easy to setting up a subdomain at GitHub. 1st create a new GitHub repository and name the repository with your user name or brand name e.g. username.github.com or brandname.github.com. I use samazgor.github.com as my repository name. Now create an index.html file at the root or master brunch of repository.
- Log in to GitHub and Click here to create a repository.
- The Repository name must use the samazgor/samazgor.github.com naming scheme. See The Screenshot Above
- After creating repository you need to setup an index.html file at muster brunch
- You can create it with a few click or automatic generator or manually
- That it.....
# Simply Create index.html File
- Go to Repository page.
- Click "PLUS +" button. See the Screenshot.
- Now type "index.html" in the box right at you github subdomain. See the Screenshot.
- And paste your html doc in the black window.
- Now hit "Commit New File"
# With Automatic Page Generator
- Go to the Repository's settings page. Its at the right-top. See The Screenshot.
- Scroll down mouse and click the "Automatic Page Generator" button. See The Screenshot.
- Now create your page body with the Markdown language.See The Screenshot.
- Click the "Continue To Layouts" button and select suitable theme for your content.
- Now click the green Tick button to "Publish". See The Screenshot.
- I am a little afraid of coding or command line :p but i love the way of coding :) anyway here is the documention - click here
Forget to tell about “Jekyll”. You can create a blog or static page using “Jekyll”. It was written by Tom Preston-Werner. Anyway, you can see the Jekyll” guide Configuring line here Click. After creating a user page as well as SubDomain at GitHub you’ll get an email like this and your changes may take up to 10 minutes to be visible.
Your page has been built. If this is the first time you've pushed, it may take a few minutes to appear, otherwise your changes should appear immediately.