AI Courses · 10 November 2026
Zero-experience website setup with Grok, GitHub, and Render
A first site can be one page. Ask Grok to help write the files, keep them in a GitHub repository, and publish them with Render when you are ready.
Who this is for
This lesson is for people who want a simple website on the internet and have little or no experience with code, GitHub, or hosting. You do not need a custom domain, a complicated app, or a team on day one.
This lesson is about a first publish, not about coordinating a team of bots. If you later work with more than one Grok Bot, the same confirmation rule still applies: you decide before anything goes live.
www.o9tools.com is a real example of this kind of stack — a Flask tools site published with Render — but your first site should be much smaller than that.
What you will need
- A way to chat with Grok or Grok Bot, so you can ask for help writing the site files.
- A GitHub account, to store the files in a repository.
- A Render account, to publish those files at a public URL.
- A very small idea for a first site. One page is enough: a greeting, a short bio, or a “coming soon” note.
You can do the GitHub steps in the browser. A local editor and git also work, and this lesson notes that option, but you do not need them to finish the first publish.
Core concepts
A website is a set of files
For a first site, those files are usually a page named index.html and, if you want, a stylesheet such as styles.css. A visitor’s browser reads those finished files and shows the page. You do not need a database, a login system, or a framework to get started.
A static site or a web service
Render has more than one service type. Official Render docs draw a useful line:
- Choose a static site if the site is finished files — mostly HTML, CSS, and JavaScript — with no server-side code running for each request. A one-page greeting or “coming soon” site belongs here. This is the right first publish.
- Choose a web service if the app has to run code on a server to answer a request. Official docs list Flask as an example. A Flask app needs a start command and a list of packages to install. Save that for a later step.
Render documents a free option for both of these service types. Free web services have documented limits, including spinning down after a period of inactivity. This lesson does not recap plan prices or every limit; check Render’s own docs for the current details.
A repository holds the files
A GitHub repository is the shared home for the project’s files and their history. Each saved change is a commit. Render reads the repository you connect, on the Git branch you choose, and uses those files to publish the site.
What “deploy” means
Deploy, in plain language, means taking the code in the repository and making it reachable at a public URL. On Render, creating the service starts the first deploy. After that, a new deploy is a fresh build of the files that are on the linked branch.
Official Render docs say that when you link a branch of your Git repository — often main — then, by default, Render automatically rebuilds and redeploys whenever you push or merge a change to that branch. Uploading or editing a file on the GitHub website and committing it to that same branch is the browser equivalent of a push. You can turn automatic deploys off in the service’s Settings if you only want to deploy by hand.
Confirm before anything goes live
Writing files, or asking Grok to write them, is not the same as publishing. Creating the Render service, or committing a change to the linked branch after the service exists, is what can make the site public. Pause, review the files, and confirm that this is the repository and branch you intend.
The public URL does not need a custom domain
Every Render static site and web service gets a unique onrender.com address. That address is enough on day one. A custom domain — a name you already own, such as a .com you bought elsewhere — is optional and can wait. Official docs note that a service can keep its onrender.com address even after you add a custom domain.
www.o9tools.com is an example of a site published this way: public responses include an x-render-origin-server header. This lesson does not describe that site’s private account, plan, or repository details.
Keep secrets out of the repository
Never put passwords, tokens, or API keys in the files you upload to GitHub. Official GitHub docs warn against committing sensitive information. GitHub may also block an upload if it detects a supported secret. If a later Flask app needs a secret, put it in the Render service’s environment settings, not in a file in the repo.
Step-by-step walkthrough
Step 1. Decide on a very small first site
Pick one page with a clear purpose: a short greeting, a personal introduction, or a “coming soon” note. Write down the title, one or two sentences of text, and whether you want a simple stylesheet. Leave logins, forms that store data, and payment features for later. A small first site is easier to review and easier to publish.
Step 2. Ask Grok to help write the files
In a chat with Grok or Grok Bot, ask for a tiny static site and say what should be on the page. Ask for ordinary HTML and CSS, no frameworks, and no secret keys. This lesson does not describe a click-path inside the Grok Bot app; a plain request in a chat is enough.
Example prompt you can adapt
Please write a very small first website I can publish: one page that says “Coming soon” and my name, plus a short sentence about what the site will be. I need an index.html file and, if useful, a simple styles.css. Keep it plain HTML and CSS, no frameworks, no accounts, and no secret keys. Explain each file in a sentence so I can review it before I put it in a GitHub repository.
Read every file Grok returns. If you can, save the files on your computer and open index.html in a browser (you can drag the file into a browser window). Check the wording, fix anything that should not be public, and make sure there are no passwords or keys. You are the reviewer.
Step 3. Put the files in a GitHub repository
Prefer the GitHub website for this first repo. A local editor and git also work if you already use them.
Official GitHub docs describe creating a repository like this: in the upper-right corner of any page, open the control for a new item and choose New repository. You can also go directly to github.com/new. If the control looks different in the product in front of you, follow the label you see.
- Choose the owner (usually your personal account) and type a short repository name, such as
coming-soon. - Add an optional description.
- Choose visibility. Public means anyone can read the files; private is also fine if your Render account is connected to GitHub. Either way, do not put secrets in the repo.
- You can tick the option to add a README. That gives the repository a starting file and creates the default branch for you (often named
main). - Click Create repository.
Then add your site files. Official docs describe two browser paths, both from the Add file menu above the file list:
- Upload files — drag in the files from your computer, or use “choose your files.” This is handy if you already saved
index.htmlandstyles.csslocally. - Create new file — type the file name, paste the contents, and save. This is handy if the files are still in the chat.
Write a short commit message that describes the change. Below that, choose whether to commit to the current branch or to a new branch. For a first personal site, committing directly to the default branch is a common way to get the files in place. Official GitHub docs also recommend a new branch and a pull request when you are working on the default branch, which is good practice later, especially if more than one person is involved.
The button label can be Commit changes or Propose changes, depending on the page. Official docs use both. Follow the button in front of you.
If you prefer a local editor and git, the idea is the same: create the repository, add the files, commit, and push to the default branch. This lesson does not walk through every git command.
Step 4. Connect Render and confirm before you go live
Sign in to Render and connect your GitHub account if you have not already. Official docs describe this from Account Settings, under Git deployment credentials, or from the form when you create a service. Authorize Render when GitHub asks. If the labels differ, follow the product in front of you.
Pause here and confirm. Read the files in the repository once more. Check that you are connecting the right repository and the branch that actually holds index.html (often main). Creating the service starts the first deploy, so this is the confirmation step.
Confirm before you create the service. Review the files, confirm the repository and branch, and only then start the publish. A later change on that same linked branch can update the live site, so treat a commit to that branch as a publish as well.
In the Render Dashboard, official docs describe clicking + New in the top-right corner (some pages say New) and choosing Static Site. Select your repository and connect it. Complete the form:
- Branch — the branch that holds your site files, usually the default branch.
- Build command and Publish directory — the publish directory is the folder that contains the finished files Render should serve. Official examples for generated sites use folder names such as
build,out, or_site. If yourindex.htmlis already at the root of the repository and you have nothing to compile, point the publish directory at that root, using the value the form accepts (some forms use a dot,., for the current folder). If a build command is required and you have nothing to build, follow the hint in the form, or leave the field empty if the form allows that. If a label is unclear, trust the dashboard in front of you rather than a guessed path.
When the form looks right, click the button at the bottom. Official Render pages label this Create Static Site or Deploy. Follow the label you see. Render then starts the first deploy. You can watch progress on the service’s Deploys page in the dashboard.
Step 5. Check the live page
When the deploy succeeds, official docs describe the status as live. Every static site and web service gets a unique onrender.com URL, shown on the service’s page in the Render Dashboard. Open that URL in your browser and check the page.
If the deploy fails, read the log on the Deploys page, fix the files or the form values, and try again. Official Render docs include a troubleshooting guide. Common first-publish problems are listed later in this lesson.
Step 6. Optional: make a small edit that updates the live page
Once the site is live, a change on the linked branch can update it. Official Render docs say that, by default, a push or merge to that branch triggers a new deploy.
On the GitHub website, open index.html, then use the control in the upper right of the file view to open the editor. Official docs describe this path; if the control looks different, follow the label in front of you. Change one visible sentence, preview if you want, and commit to the same linked branch (again, the button may say Commit changes or Propose changes). Wait for Render to finish the new deploy, then refresh the live URL.
Because that commit can update the public page, confirm the wording before you save it to the linked branch.
Worked example: a one-page “coming soon” site
Imagine you want a first public page for a small personal site. You decide the page should say “Coming soon,” use the name “Jordan’s notebook,” and include one sentence about notes and tools. That is the whole idea. No login, no forms, no secrets.
Grok writes the files
You paste a prompt like the one in Step 2, with those details. Grok returns two files. You read them, save them on your computer, and open index.html in a browser. The page looks like a short, quiet “coming soon” note. You keep both files.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Coming soon — Jordan’s notebook</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<main>
<p>Coming soon</p>
<h1>Jordan’s notebook</h1>
<p>A small public page for notes and tools. Check back soon.</p>
</main>
</body>
</html>
A short styles.css might set a dark background, readable text, and a simple page width. The exact design can vary. What matters is that you reviewed the files and they contain no secrets.
The files go into a GitHub repository
On GitHub you create a new repository named jordans-notebook, add a short description, choose a visibility, and optionally add a README. You click Create repository. Then, from Add file, you upload index.html and styles.css (or create those files in the browser and paste the contents). You write a commit message such as “Add coming soon page,” commit to the default branch, and check that both files are visible on the repository’s main page.
Render is connected, then you confirm and go live
In Render you connect GitHub if needed, choose Static Site, and select the jordans-notebook repository. You set the branch to the default branch that holds the files. Because this site is already finished HTML and CSS at the repository root, you point the publish directory at that root, using the value the form accepts, and you do not add a real build step unless the form requires one.
You pause. The files look right. This is the correct repository and branch. Then you create the service. Render starts the first deploy. When it is live, you open the onrender.com URL and see “Jordan’s notebook” in the browser. You do not need a custom domain for this check.
A small update
A day later you change the sentence to “A small public page for notes and tools. A first lesson is on the way.” You edit index.html on GitHub, commit to the same linked branch, wait for Render to redeploy, and refresh the live URL. The new sentence is there.
Later step: a tiny Flask app
The static page is enough for a first publish. If you later want a page that runs Python on a server, a small Flask app is a sensible next step — not a replacement for the first publish above.
Official Render docs show a minimal app.py and deploy it as a Web Service, not a static site. Their example uses a build command of pip install -r requirements.txt and a start command of gunicorn app:app when the Flask object is named app in app.py. The official example’s requirements.txt lists Flask and Gunicorn. If your file or object names are different, the start command must match.
from flask import Flask
app = Flask(__name__)
@app.route("/")
def hello_world():
return "Hello, World!"
In the Render Dashboard, official docs describe New > Web Service, then connecting the repo. During creation you choose a Python language option, set the build and start commands, and choose a compute plan in the form (Render documents a free option, with limitations). Put any secrets in the service’s environment settings, not in the repository. When you confirm, click the button to create the web service — official docs label it Create Web Service — and wait for the onrender.com URL.
Common mistakes
- Putting secrets in the repository. Passwords, tokens, and API keys do not belong in GitHub, even in a private repo. Official GitHub docs warn against this, and GitHub may block some secret uploads. Use the Render service’s environment settings instead.
- Using the wrong start command. This matters when you later deploy Flask as a web service. The start command must match your file and object names. Official Render docs use
gunicorn app:appforapp.pywithapp = Flask(__name__). - Missing requirements. A Flask web service needs a
requirements.txt(or another install path the build command uses) that includes the packages the start command needs. The official example includes Gunicorn. If Gunicorn is missing, the start command cannot run. - Connecting the wrong branch. The service only deploys the branch you linked. A change on another branch will not update the live site.
- Expecting a custom domain on day one. DNS and a custom domain are optional. The unique
onrender.comURL is enough to prove the site is live. - Choosing a web service for a folder of HTML files, or a static site for a Flask app. Finished HTML and CSS belong on a static site. A Flask app needs a web service, a start command, and installed dependencies.
- Skipping review before the first deploy. Creating the service starts the publish. Read the files first.
Quick reference / checklist
- The first site is deliberately small: one page is enough.
- Grok (or Grok Bot) helped write the files in a chat, and you reviewed every file.
- There are no passwords, tokens, or API keys in the files.
- The files are in a GitHub repository, on the branch you intend to publish (often the default branch, such as
main). - You opened
index.htmllocally, or otherwise read the page, before you published. - GitHub is connected to your Render account.
- You confirmed the repository and branch, then created a Render static site for the first publish.
- The publish directory points at the folder that contains
index.html. - The live
onrender.comURL opens and shows the page you expected. - You know that a later commit to the linked branch can update the live site, and that a custom domain is optional.
- If you later add Flask, you will use a web service, a matching start command, and a requirements list that includes Gunicorn if you follow the official example.
Further practice
- Change one sentence on the live page, commit it to the linked branch, and confirm that the Render deploy updates the public URL.
- Add a second page, such as
about.html, and link to it fromindex.html. Practice reviewing the files before you commit. - On a copy of the repo, or as a later project, try the tiny Flask example from official Render docs. Compare a static site and a web service so the difference is concrete.
- When you are ready for a name you already own, follow Render’s custom domain guide. Until then, keep using the
onrender.comURL.
Sources and further reading
This lesson was written on 10 November 2026 from official documentation and from the public behaviour of www.o9tools.com. It does not invent product menus or click-paths. Where a button label can vary by page or build, the lesson names the official wording and tells you to follow the label in the product in front of you.
Where a detail was not pinned down in those pages — in particular the exact publish-directory value a plain HTML site should use in today’s dashboard, and some button labels that differ across official pages — this lesson says so rather than guessing.