GitHub Pages Sites Moves To A New, Dedicated Domain: GitHub.io

Posted on Apr 8 2013 - 6:45am by Editorial Staff

GitHub

A popular development service GitHub announced via its blog post that starting from today its all the GitHub Pages sites are moving to a new, dedicated domain: github.io. The move is taken in lieu of security measures aiming to remove potential vectors for cross domain attacks targeting the main github.com session.

The service also says that if you have configured a custom domain for your Pages site (“yoursite.com” instead of “yoursite.github.com”) then you are not affected with the change while if your Pages site was earlier served from a username.github.com domain, all traffic will be redirected to the new username.github.io location.

Changes to Pages sites and custom domains:

  • All User, Organization, and Project Pages not configured with a custom domain are now hosted on github.io instead of github.com. For instance, username.github.com is now served canonically from username.github.io.
  • An HTTP 301 Moved Permanently redirect has been added for all *.github.com sites to their new *.github.io locations.
  • Pages sites configured with a custom domain are not affected.
  • The Pages IP address has not changed. Existing A records pointing to the Pages IP are not affected.

Changes to GitHub repositories:

  • User Pages repositories may now be named using the new username/username.github.io convention or the older username/username.github.com convention.
  • Existing User Pages repositories named like username/username.github.com do not need to be renamed and will continue to be published indefinitely.
  • If both a username.github.io and a username.github.com repository exists, the username.github.io version wins.
About the Author
Editorial Staff

Editorial Staff at I2Mag is a team of subject experts led by Karan Chopra.