Contents
Many developers publish their first site on GitHub Pages: the code already lives in the repository, publishing takes one click, and it costs nothing. The question comes later, when the project grows or turns commercial: is it enough? This is a neutral comparison based on GitHub’s own documentation.
What is GitHub Pages?
According to GitHub’s docs it is a static site hosting service that takes HTML, CSS and JavaScript files from a repository, optionally runs them through a build process, and publishes a website. There are two kinds of site:
- User or organization site: one per account, from a repository named
<owner>.github.io. - Project site: one per repository, at
<owner>.github.io/<repositoryname>.
A site can be published on a custom domain. The service is available for public repositories on GitHub Free, and for public and private repositories on the paid plans.
The limits written in GitHub’s docs
| Limit | Value in the docs |
|---|---|
| Published site size | No larger than 1 GB |
| Source repository size | Recommended limit of 1 GB |
| Bandwidth | Soft limit of 100 GB per month |
| Builds | Soft limit of 10 per hour; does not apply when publishing with a custom GitHub Actions workflow |
| Deployment time | Times out after 10 minutes |
| Number of sites | One user site per account, one site per repository |
The docs add that a site exceeding these quotas may stop being served, or its owner may get an email suggesting a CDN in front of it or a move to hosting that fits better.
More important than the numbers is the usage rule: the service is not intended for running an online business, an e-commerce site or a SaaS product, and is not for sensitive transactions.
Quick comparison
| Item | GitHub Pages | ArabyHost |
|---|---|---|
| Kind of service | Publishes static files from a repository | Managed hosting with isolated accounts |
| Cost | Free for public repositories | A paid plan at a fixed price |
| Server code | No | PHP on every plan; Node.js and Python on the AI and developer plans |
| Database | No | MySQL/MariaDB in the same account |
| WordPress | No | Yes, in one click |
| Email on the domain | No | Yes, with SPF and DKIM |
| Commercial use | Not allowed as hosting for a business | Allowed |
| Forms | Need an outside service | A PHP file or your own app |
| Deploying | From Git, automatically | Git Version Control, file upload, or Araby MCP |
| Support | Docs and a forum | Support in Arabic |
Who GitHub Pages suits (and who should stay on it)
- A developer’s personal site or CV.
- Documentation for an open-source project, living next to the code.
- A demo page or a study project.
- A small, non-commercial static site with traffic inside the limits.
If your site is one of these, there is no reason to pay for anything.
When it is not enough
- You have a business: a company, a store or a paid service. The usage rule itself rules it out.
- You need a contact form that sends email, a login, or an admin panel.
- You want WordPress or any system that relies on PHP and a database.
- You want email on the domain in the same place.
- The repository must stay private and you are on the free plan.
- You built an app with an AI tool and it has a backend or an API, not only a front end.
Moving away from GitHub Pages
Moving is simple because the site is static files:
- Build the site locally if it has a build step, or take the files as they are.
- Upload the output to
public_htmlas in the HTML upload guide, or connect the repository itself as in the deploy from GitHub guide. - Change the domain’s DNS records to point to the new hosting.
- Remove the custom domain from the Pages settings once the site works.
The repository stays on GitHub as it is. Only the place it is published from changes.
On ArabyHost
Static sites run on every ArabyHost plan, served by LiteSpeed with a free automatic SSL certificate and daily backups. With them comes what GitHub Pages does not offer: PHP, databases and email on your domain, and on the AI and developer plans SSH, Node.js, Python and Git. The limits: no built-in global delivery network, no automatic preview for every pull request, the server is in Germany, and the service is paid. Prices in your currency are on the pricing page.
GitHub Pages information comes from its official docs in November 2026 and may change.
FAQ
Is GitHub Pages really free?
Yes, for public repositories on GitHub Free. Publishing from a private repository needs a paid plan such as GitHub Pro or Team, according to GitHub's docs. There is no charge for visits, but usage limits apply.
Can I run an online store on GitHub Pages?
No. GitHub's docs state that Pages is not intended for or allowed to be used as free web hosting to run an online business, an e-commerce site or a SaaS product, and that it should not be used for sensitive transactions such as sending passwords or card numbers. Technically it also runs no server code and no database.
Does GitHub Pages support PHP or WordPress?
No. It serves static files only: HTML, CSS and JavaScript, with an optional build step before publishing. WordPress and any PHP site need hosting with PHP and a database.
Can I use my own domain with GitHub Pages?
Yes. The docs say a site is published on a github.io address or on a custom domain you configure in the repository settings and your DNS records.