Skip to main content

GitHub Sync · Included with every hosting plan

Build on GitHub Pages. Publish on your own hosting, automatically.

Keep building in GitHub. We check your GitHub Pages site every hour and copy changes onto your Gravity Host hosting, ready for visitors at your own domain.

Safety checks protect the copy on your hosting. See what happened at each check, pause updates or resume them from your account.

New to this? Read the step-by-step guide.

A laptop showing two connected pages on a wooden desk beside a lamp and a mug

Connect once

From GitHub Pages to your domain

Your developer or AI tool can keep working in GitHub. GitHub Sync takes care of copying the published site.

Step 1

Connect the GitHub Pages address

Open GitHub Sync in your account, paste the site's public github.io address and choose your hosting service. The first copy starts straight away.

Step 2

We check every hour

We ask GitHub for the latest version. When something has changed, we fetch the published files and check them before copying.

Step 3

Changes appear on your domain

Once the safety checks pass, your visitors see the new version on your hosting. Your account keeps a history of what each check did.

Keep your domain and your way of working

A home for the site you already built

GitHub says Pages is not a free business-hosting service and can remove a site that breaks its rules. Our GitHub Pages and web hosting comparison explains the differences. Your GitHub Pages source still needs to follow those rules.

Keep your domain, email and forms on your own hosting, while your developer or AI tool keeps working in GitHub. Forms need a working endpoint on your hosting; copying a site does not set that up for you.

How a real customer uses it

A customer's friend built their site with AI on GitHub Pages. The customer wanted it on their own hosting. Now every change the friend pushes and publishes appears on the customer's domain by the next hourly check, once the safety checks pass.

Two people looking at a tablet together at a table beside a window

Checked before and after each copy

How the safety checks work

  • Only real changes We ask GitHub for the latest version every hour and copy only when something changed.
  • Never a blank site If GitHub has removed the site, served an empty page, or left files out, nothing is copied and you see why here.
  • Put back if it breaks After a copy we load your site. If it does not answer properly, the previous good version goes back automatically.
  • Pauses itself Three failed checks in a row pause the sync so it does not keep trying. Resume it whenever you are ready.
  • Your files stay yours WordPress, PHP files and settings on your hosting are never touched, and nothing is deleted.
  • Static sites only GitHub Pages serves static files, so that is what this copies. Forms and email still run on your hosting.

These are the same safety checks shown in your account, where you can read each result.

What you can connect

Works with any static site generator

Next.js static export, Astro, Hugo, Jekyll or plain HTML: publish the static output on GitHub Pages, then connect its address.

The published files, ready to copy

Your site is copied as served by GitHub Pages. GitHub Sync does not build your repository or run server-side applications.

PHP files are never uploaded by the sync. You can run PHP and MySQL applications separately on your hosting; browse the included open-source apps or try the free Website Builder.

A few practical limits

  • Static files only.
  • Up to 3 syncs per account.
  • The repository must be public.
  • Connect the site's github.io address.

The published site must pass the safety checks before it can be copied.

Free with every hosting plan

GitHub Sync is included

Start with 15 GB for your website and email, with SSL and daily backups included. There is no extra charge for GitHub Sync.

Use a domain you already own or find a new domain separately.

Need a hand connecting your site? Send us a message and a real person will reply.

15 GB web hosting

£45 for your first year

Then £75 a year. GitHub Sync included.

Buy web hosting

Before you connect

A few practical questions

Do I need a GitHub account?

No. You need a Gravity Host account with an active hosting service and the public GitHub Pages address. Your friend or developer can own the GitHub account and public repository. You do not need to give us a GitHub password or access token.

Can my developer keep using GitHub?

Yes. They can keep editing, committing and publishing to GitHub Pages, including with an AI tool. We check every hour and copy the changed published site after it passes the safety checks. You can also choose Check now in your account.

What happens if GitHub deletes the site?

The copy on your hosting stays as it is. We do not copy GitHub's missing-site page or an empty page over it. The check history explains what happened, and three failed checks in a row pause the sync. Once the GitHub Pages site is available again, you can resume it.

Does it overwrite my WordPress?

No. WordPress, PHP files and settings on your hosting are never touched, and nothing is deleted. You choose the hosting service and folder for the static site. Use a separate folder when adding a static site alongside an existing WordPress site.

Can I turn it off?

Yes. Pause or remove the sync from GitHub Sync in your account. Your hosted files stay in place. Resume a paused sync whenever you are ready for hourly checks again.

Your next update, on your own domain

Give your GitHub Pages site a home

15 GB hosting is £45 for your first year, then £75 a year. GitHub Sync is free with every hosting plan.