62

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.

55

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

  • 8
    THanks, I did contact them. Here's their response: 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 – Mark Bubel Feb 13 '14 at 14:51
  • Does it mean that as a freelancer, I cannot host sites on github pages for money? – Dheeraj Bhaskar Sep 17 '15 at 9:57
  • The best way to get an answer to that question is asking Github themselves. – Lasse Vågsæther Karlsen Sep 17 '15 at 10:42
16

As of May 23th, 2018 much of this seems to have changed.

From the terms of service

I. Additional Terms for GitHub Pages

Short version: The GitHub Pages hosting service is subject to certain rules, in addition to the rest of the Terms.

Each GitHub account comes with access to the GitHub Pages static hosting service. This hosting service is intended to host static web pages for GitHub users. GitHub Pages are subject to some specific bandwidth and usage limits, and may not be appropriate for some high-bandwidth uses. Please see our GitHub Pages guidelines for more information.

GitHub reserves the right at all times to reclaim any GitHub subdomain without liability.

K. Advertising on GitHub

Short version: We do not generally prohibit use of GitHub for advertising. However, we expect our users to follow certain limitations, so GitHub does not become a spam haven. No one wants that.

1. GitHub Pages

We offer Pages sites primarily as a showcase for personal and organizational projects. Some monetization efforts are permitted on Pages, such as donation buttons and crowdfunding links.

2. GitHub Repositories

GitHub repositories are intended to host Content. You may include static images, links, and promotional text in the README documents associated with your repositories, but they must be related to the project you are hosting on GitHub.

You may not advertise in other Users' repositories, such as by posting monetized or excessive bulk content in issues.

3. Spamming and Inappropriate Use of GitHub

Advertising Content, like all Content, must not violate the law or these Terms of Use, for example through excessive bulk activity such as spamming. We reserve the right to remove any advertisements that, in our sole discretion, violate any GitHub terms or policies.

  • "you can't use HTTPS with a custom domain on github" - They have recently added HTTPS support for custom domains via a managed LetsEncrypt setup. – Nick May 23 '18 at 8:24
9

It might be worth noting that the clause posted in the accepted answer is no longer in the GitHub Terms of Service.

Here is the updated clause:

You may use the GitHub Pages static hosting service solely as permitted and intended to host your organization pages, personal pages, or project pages, and for no other purpose. You may not use GitHub Pages 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.

If you interpret "organization" as your company, then it should be fine. It might be worth checking for an updated response from GitHub themselves with regards to this question.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.