A modern website comes down to two core pieces: a repository that holds the code (on GitHub) and hosting that runs it. Point your domain at the hosting, connect an AI assistant like Claude or ChatGPT to the repository, and every change, from a new page to a typo fix, can be made by simply asking. No page builder, no plugins to update, no waiting days for a developer to find time.

This is how we now build and run every website at Flow Digital, including this one. Below is how it fits together, how it handles access and safety, why we've moved away from WordPress, and the steps to set it up yourself.

HOW A MODERN WEBSITE FITS TOGETHERYou or your teamask in plain EnglishClaude or ChatGPTwrites the changeGitHub repothe code, every versionHostingruns the websiteyourbusiness.comthe domainpoints toVisitorstype your addressTwo core pieces: the repo (your code) and the hosting (where it runs). The domain points to the hosting. AI works on the repo.
The whole setup: you ask, AI changes the code, the hosting publishes it, and your domain sends visitors there.

The two core pieces: the repo and the hosting

The repo (short for repository) is a folder of your website's code that lives on GitHub. It keeps every version of every file, who changed it, and when. If something goes wrong, you go back to yesterday's version in one step. Think of it as the master copy of your website.

The hosting is the server that turns that code into a live website. Good hosts connect straight to GitHub, so whenever the code changes, the live site updates on its own, usually within a minute. Hostinger, Vercel, Netlify and Cloudflare Pages all work this way.

Keeping the two separate is the whole point. Your code isn't trapped inside a hosting account or a page builder. You can change host, change agency or bring the work in-house, and the website comes with you.

Pointing your domain

Your domain (yourbusiness.com) is just a signpost. You tell it where the hosting is by updating a couple of DNS records at whoever you bought the domain from, and the host sets up the security certificate (the padlock, HTTPS) for you. It's a one-time job. After that, the domain, the repo and the hosting each do their own thing.

Connecting AI to the repo

This is the part that changes everything. Claude and ChatGPT can both connect to GitHub. Once you give them access to your site's repo, they can read the code, make changes and save them back, exactly like a developer would.

So instead of logging into a dashboard or emailing a developer, you write something like "add a new team member to the About page with this photo and bio" or "make the booking button bigger on mobile". The AI makes the change, you check it, and it goes live.

The best part: you can leave instructions in the repo itself (a simple text file with your brand colours, tone of voice and rules, such as "never use stock photos of handshakes"). The AI reads it every time, so it keeps to your brand without you repeating yourself.

HOW A CHANGE GOES LIVE 1. Asksay what you need2. AI editson a safe copy3. Previewon a staging link4. Approveyou say go5. Livein about a minuteNot right? Undo any change in one step. Every version is kept.Nothing reaches the live site until someone approves it. The history shows who changed what, and when.
Every change runs on a safe copy first. Nothing reaches the live site until it has been checked.

How a change goes live

  1. Ask. Describe the change in plain English, with screenshots or files if useful.
  2. AI edits a safe copy. The change is made on a separate copy of the code (a branch), not on the live site.
  3. Preview. The copy is published to a staging link so you can see it exactly as it will look.
  4. Approve. Happy with it? Approve it and it's merged into the main version.
  5. Live. The hosting picks it up and the change is live, usually within a minute.

If something isn't right, every version is kept. Going back takes one step, not a restore from last month's backup.

Sharing access: your team, your client and handovers

Everything lives in a GitHub organisation (a shared company account). Everyone who needs access gets their own login and the right level: some can only view, some can make changes, one or two people own it. Nobody shares a password, and removing someone takes seconds.

WHO CAN ACCESS WHAT GitHub repoin your organisationAgencyowner, runs the siteYour teamcan make changesClientview, or full adminAI assistantonly this repoeach person gets their own login and levelhandover = transfer the repo to the clientRemove anyone in seconds. Nobody shares a password, and nothing lives in one person's private account.
One organisation, everyone with their own login and level. Handing a site over is a transfer, not a rebuild.

Is it safe?

Safer than most setups we inherit. Here's why:

Why not WordPress?

WordPress powered the last era of the web, and it still has its place. But it was built for people clicking around a dashboard, not for AI working on code. We've written about this in more detail in why we're moving away from WordPress. The short version:

Repo and hostingWordPress
Making changesAsk AI in plain English, preview, approveLog into the dashboard, find the right plugin or page builder setting
UpkeepAlmost none, no plugins to updateRegular core, theme and plugin updates
SecurityNo admin login or plugins to exploitA common target, especially with outdated plugins
SpeedFast by defaultOften slowed down by plugins and page builders
HistoryEvery version kept, one-step undoDepends on backups and plugins
Moving itTransfer the repo, point the hostingExport, import and hope everything comes across

When this isn't the right setup

To be fair, it's not for every site. A large online shop is usually better on a dedicated platform like Shopify, and a newsroom publishing ten articles a day with a big editorial team may still want a traditional content system. For most business websites, though, the kind with services, a portfolio, a blog and enquiry forms, this setup is faster, safer and much easier to keep up to date.

Setting it up: the steps

Here's the full process, start to finish. It's written so you can follow it with your team.

  1. Create a GitHub organisation for the business. Use a company email address, switch on two-step login, and add the people who need access with the right level.
  2. Create the repo for the website. One repo per site. Make it private.
  3. Add the website code. Start from an existing site, a template, or have AI build the first version from your brief, brand and content.
  4. Write the instructions file. Add a short file to the repo with your brand rules, tone of voice, colours, fonts and anything the AI should always or never do.
  5. Set up the hosting. Create the hosting account in the business's name, connect it to the GitHub repo, and turn on automatic deploys from the main branch.
  6. Add a staging site. Connect a second branch (or the host's preview feature) to a staging link, so changes can be checked before they go live.
  7. Point the domain. At your domain registrar, update the DNS records your host gives you. Confirm the padlock (HTTPS) shows on the live site.
  8. Protect the main branch. In the repo's settings, require changes to go through a review before they reach the live site.
  9. Connect your AI. In Claude or ChatGPT, connect GitHub and give access to this repo only.
  10. Make a test change. Ask for something small, check it on staging, approve it, and confirm it appears on the live site.
  11. Write down how to do it. Add a short README covering where it's hosted, how deploys work and who to ask. Future you, and future team members, will thank you.

The quick checklist

Want the whole thing as a PDF to walk your team through it? Grab it below. Or if you'd rather we set it up for you, from the repo and hosting to the AI connection, let's talk.

Free download

The AI-era website setup guide

  • The full guide with diagrams and the step-by-step setup (PDF)
We'll also email it to you. No spam, no strings attached.
Ardjuna SukirmanFounder, Flow Digital

Ardjuna founded Flow Digital, a marketing agency in Bali that runs websites, ads, SEO and email for businesses in Asia, Australia and Europe. He also built Metrcs, the software the agency runs on.