Am I allowed to host a commerical website on GitHub Pages

githubgithub-pages

Can I host my company's website on GitHub Pages, if I wanted?

Are there any restrictions on what you can and can't use GitHub pages for?

We don't get a lot of traffic, so I don't think bandwidth is the issue. I'm interested from a legal perspective.

Best Answer

Note! This answer is old and outdated, please check the other answers here, as well as checking the current Terms of Service.


(rest of answer is left as-is)

According to the GitHub Terms of Service, under section G. General Conditions, you'll find this:

  1. You may use GitHub subdomains (e.g., yourname.github.io) solely as permitted and intended by the GitHub Pages tool to host your company pages, personal pages, or open source project pages, and for no other purpose. You may not use GitHub subdomains in violation of GitHub's trademark or other rights or in violation of applicable law. GitHub reserves the right at all times to reclaim any GitHub subdomain without liability to you.

(my emphasis)

After you did contact GitHub directly you commented that their response was:

The content of Pages is at the user's discretion, as long as it's legal and doesn't otherwise violate the Terms of Service. Some users may choose to include ads, donation buttons, ticket sales, or other ways of monetizing their projects, and that's OK with us. Of course we hope folks will Keep It Classy™ and use this power for awesome! Thanks