> Education Commons > WWW > Github

GitHub Pages

Warning: When you follow these instructions, you will end up with a website whose URL is similar to this: It’s important, therefore, to choose your GitHub account name carefully.

Follow these instructions to host your website on GitHub:

  1. Navigate to GitHub.
  2. Create an account whose name is composed of your family name and your given initial or given name. For example, Victoria Windsor’s account name is windsorv. If your family name and given initial are not available, try your family name and given name (ex: windsorvictoria), or your family name and several initials (ex: windsorva, for Windsor Victoria Alexandrina). If you are uncertain as to an appropriate account name, please ask your teacher before proceeding.
  3. Successful creation of an account brings you to the profile page. At the top righthand side of the profile page, choose New repository from the pulldown menu. (See screenshot.)
  4. Name the new repository home. Check Initialize this repository with a README before you select Create repository. (See screenshot.)
  5. At the top right of the resulting home page (verify that you see accountName/home at the top left), select Settings. (See screenshot.)
  6. Partway down the Settings page, change the GitHub Pages Source from None to master branch, then select Save. (See screenshot.)
  7. At the top of the Settings page, select <> Code. (See screenshot.)
  8. On the Code page, find and select Upload Files. (See screenshot.)
  9. Drag your website source files to the Code page or select choose your files. Once the files are uploaded, select Commit changes.
  10. Return to your profile page by selecting your account name near the top left of the page. (See screenshot.)
  11. Create a second repository with a README. Name this repository For example, Victoria Windsor’s second repository is named
  12. Congratulations! Your site is now live at <>.
  13. Develop your site by uploading new or revised files to the home repository, and deleting files from the home repository, as appropriate.
  14. Note: Do not add any files to the second repository. All development should occur in the home repository. > Education Commons > WWW > Github

[This page last updated 2020-12-23 at 13h10 Toronto local time.]