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…

GitHub Logo
GitHub Logo

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.

create new repository with GitHub subdomain

# Instruction:

  1. Log in to GitHub and Click here to create a repository.
  2. The Repository name must use the samazgor/samazgor.github.com naming scheme. See The Screenshot Above
  3. After creating repository you need to setup an index.html file at muster brunch
  4. You can create it with a few click or automatic generator or manually
  5. That it.....

# Simply Create index.html File

  1. Go to Repository page.
  2. Click "PLUS +" button. See the Screenshot.
  3. Now type "index.html" in the box right at you github subdomain. See the Screenshot.
  4. And paste your html doc in the black window.
  5. Now hit "Commit New File"

# With Automatic Page Generator

  1. Go to the Repository's settings page. Its at the right-top. See The Screenshot.
  2. Scroll down mouse and click the "Automatic Page Generator" button. See The Screenshot.
  3. Now create your page body with the Markdown language.See The Screenshot.
  4. Click the "Continue To Layouts" button and select suitable theme for your content.
  5. Now click the green Tick button to "Publish". See The Screenshot.

Manually Generate

  • 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

# Conclusion:

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.

Sam Azgor

Howdy. My name is Sam Azgor. My online presence started as a blogger. Currently i play with remote machines. Occasionally I write various type of articles.

samazgor samazgor


Published