Skip to main content
All articles
  • Teachers
  • Education
  • Static Sites
  • QR code
  • Password Protection

How to Make a Classroom Website Students Can Open on Phones

Published 12 min read

On this page 11 sections

A classroom website is one page with this week's homework, your handouts, the links students use and how to reach you, at a short address that opens on any phone.

You can build a classroom website (some schools call it a teacher website) in an afternoon: make it in Google Sites or ask an AI chat for a single HTML page, put it online, and print the link as a QR code.

Here's the part that trips people up. Students and parents open the page from a QR code on the syllabus or a link in the parents' group chat, often on a personal phone that isn't signed in to a school Google account. If the page needs that account, they're stuck at the door.

So this guide builds for that phone first, and adds a class password once the page holds class material.

Google Classroom vs a classroom website

Google Classroom is where you assign, collect and grade work, and everyone signs in to see it. A classroom website is the front door: a page anyone with the link can open, parents and substitutes included.

You can use both: link the site from Classroom (steps below) and Classroom from the site.

Wondering how to create a Google Classroom website, and you actually mean a class in Google Classroom? Here's the quick version, from Google's Classroom help (checked November 21, 2026):

  1. Go to classroom.google.com and sign in.
  2. On the Classes page, click Add (the plus), then Create class.
  3. Enter a class name. It can't contain a URL.
  4. Click Create.
  5. Share the class code or invite link with students.

No Create class button? Google says your account can only join classes. Switch to another account, or ask your Workspace admin.

What to put on a classroom website

Start with what students and parents tap most. Eight classroom website ideas, in phone order:

  1. Updated date. "Updated: Jan 12" at the top tells everyone the homework list is current.
  2. This week. Homework and due dates.
  3. Handouts. The syllabus and worksheets as PDFs (more on hosting PDFs).
  4. Links. The tools students open every day.
  5. Calendar. Test dates, trips, early dismissals.
  6. How to reach you. School email and office hours. Never a personal number.
  7. Supply list.
  8. For parents. Where to check homework and how to contact you.

Most of that list is in Prodigy's 2021 classroom website guide, which quotes one teacher's best tip in a single word: "BREVITY!" It also suggests class photos and a teacher bio. This list drops both: photos for privacy, the bio for screen space.

On a phone, one long page with clear headings beats a six-page site. Every extra page is another tap, another load and another chance to get lost.

Keep it privacy-safe

Leave off student names, photos and grades. A public page can be opened, forwarded and screenshotted by anyone who has the link, and you can't take a copy back.

Common Sense Education's checklist is written for teachers posting on social media, and it applies just as well to a public class page. It says to keep faces and names out unless parents have given explicit consent. Even with consent, we'd still leave names and photos off a class page. Treat grades as part of a student's record: when in doubt, don't share. Its first step is to read your school or district's social media guidelines.

Classroom website examples

Most "teacher website examples" roundups show teachers' businesses: Wix's 13 examples (June 2025) are mostly blogs, shops and coaching sites. Sitebuilder Report's 30 Google Sites examples (updated January 7, 2026) include a few school and course sites.

Worth borrowing: the class name and the week's work above the fold, big buttons instead of tiny text links, and nothing that needs a sign-in to read.

How to make a classroom website: 3 ways

Quick pick: if your whole class is on school Google accounts, Google Sites is the easy default. If you want one page anyone can open on any phone, use an AI chat or the template below.

Google Sites for a classroom

Google Sites comes with Google Workspace for Education. The Education Fundamentals edition, which includes Sites and Classroom, is "available without cost for qualified educational institutions", per Google for Education.

You build in an editor, embed Google Docs and Slides, and preview the mobile view before you publish (a video walkthrough on YouTube shows the whole build).

Who can see it is set under Share, next to "Published site", as of November 21, 2026 (Sites help):

  • Public: anyone on the web.
  • Restricted: only the people and groups you add as Published viewers.

Your Workspace admin can turn Sites off or limit who creates sites. Sites has no password setting, so Restricted works by Google account. A parent without an account you added can't get in.

Google Sites also connects your own domain, up to five per site, as long as the site is public: "Your site must be shared with the world for published viewers". On a school account, ask your admin (custom domain help, checked November 21, 2026).

Moving on later? Google's export page lists draft and published sites among what you can export, but doesn't describe the export as files you could host elsewhere. More on what Sites can and can't host.

Ask an AI chat for one page (prompt to copy)

Yes, ChatGPT or Claude can make a classroom website: one HTML file you can put online yourself. Paste this in and fill in your details:

Make one HTML file for my class website, CSS inside, no outside scripts or fonts. Phone first: one column, 18px text, big tap-friendly links. Sections in order: Updated date; This week (homework, due dates); Handouts (links to syllabus.pdf and lab-4.pdf in the same folder); Links we use; Calendar; How to reach me (school email as a tap-to-email link, office hours); Supply list; For parents. Placeholder text I can replace. No student names or photos.

Then:

  1. Save the code in a new folder, as a plain text file named index.html.
  2. Open it on your phone (how to open an HTML file on iPhone).
  3. Ask for changes in plain words: "move homework to the top", "make the buttons bigger".

There's more on building it with Claude and the ChatGPT route. Claude can also share an artifact at its own link; here's what that link can and can't do.

Start from a simple HTML template

No AI? Copy this into a text file, save it the same way, and edit four things: the class name (twice), the "This week" list, the handout links and the email address.

html
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport"
  content="width=device-width">
<title>Room 12 Science</title>
<style>
body{font:18px/1.5 sans-serif;
max-width:34em;margin:auto;
padding:1em}
a{display:block;padding:.6em 0}
</style>
</head>
<body>
<h1>Room 12 Science</h1>
<p>Updated: Jan 12</p>
<h2>This week</h2>
<ul><li>Read ch. 4 by Wed</li>
<li>Lab sheet due Fri</li></ul>
<h2>Handouts</h2>
<a href="syllabus.pdf">Syllabus</a>
<a href="lab-4.pdf">Lab 4 sheet</a>
<h2>Contact</h2>
<a href="mailto:you@example.org">
you@example.org</a>
</body>
</html>

The a{display:block...} rule turns every link, the email included, into a full-width row that's easy to hit with a thumb.

A static host turns your folder into an address. Steps:

  1. Put the page in one folder with the PDFs it links to. File names must match the links exactly.
  2. Zip the folder (right-click it and compress it).
  3. Drop your zipped folder on the host. On Hostsmith, drop it at hostsmith.net and sign in to publish.
  4. Open the address on your phone.

On Hostsmith you type the site name yourself, so the address looks like your-class.us.hostsmith.link. Keep the name short: a shorter address makes a simpler QR code, with bigger squares that phones read more easily (the QR post measured it: 29 x 29 modules for a 30-character address vs 37 to 41 for a Drive link).

Only have a syllabus? Upload the PDF on its own and it opens in a viewer page at the site's address.

What Hostsmith's Free plan covers, as of November 2026: 1 site, 5 MB of storage (also the size limit for one file), 5 GB bandwidth a month, the Hostsmith watermark, no credit card to sign up, and sites that stay up until you delete them.

A stack of PDF handouts, or one big scanned syllabus, can outgrow 5 MB; Starter has 50 MB (plans).

Teaching more than one class? One site can hold a page per class: period3.html is served at /period3. Separate sites per class need Pro (5 sites).

Other ways to do this step: 5 ways to host an HTML file and how zipped-folder uploads work.

Think of the QR code as a warp pipe: scan it, pop out on this week's homework. Your browser makes one for the page you're on:

  • Chrome (computer): More > Cast, save, and share > Create QR code > Download.
  • Chrome (Android): More > Share... > QR Code.
  • Edge: right-click the page > Create QR code for this page.

Menu paths as of November 2026; the QR code guide covers sizing and printing. Print the short address under the code for the phone that won't scan, and paste the same link in the parents' group chat.

One reality check: at least 40 states and DC require districts to ban or restrict student phone use, per Education Week's tracker (updated October 26, 2026).

So the code on the board is for day one and parents' night. The page earns its keep at home: homework at 9 pm, a parent checking the test date.

From Google's Classroom help, checked November 21, 2026:

  1. Open the class and click Classwork.
  2. Click Create, then Material.
  3. Enter a title, like "Class website".
  4. Click Add, choose Link, and paste your address.
  5. Under For, pick more classes if you teach several.
  6. Click Post.

Test it on a phone before you share it

Start with the stranger test from the QR guide: scan with a phone that isn't signed in to your school account, on mobile data. Then the checks a class page needs:

  • The back row. Print the code at its real size, hang it, and scan it from the far side of the room.
  • The Classroom post. Tap your website link inside Google Classroom on a phone, the way a student would.
  • Every handout. Tap each PDF and check it opens. A missing one usually means a file name that doesn't match its link.
  • The first screen. The "Updated" date and this week's homework should show before any scrolling.
  • The email link. Tap it and check a new email opens to your school address.

Make it private with a class password

Public is fine for a supply list and office hours. Once the page links worksheets, class recordings or anything your district wants kept inside the class, lock it. Three ways to decide who gets in:

  • Public: anyone with the link.
  • Google accounts only: Google Sites' Restricted setting.
  • A class password: one word on the board that anyone in the class can type on any phone.

That password keeps out people outside the class. Every student who knows it sees everything behind it, so answer keys and anything meant only for you stay off the class site.

On Hostsmith, that's Private Sites, from the Starter plan up ($5 a month billed yearly, $9 billed monthly, as of November 2026): a shared password or an email whitelist.

The shared password suits a class; the whitelist lets each parent get in with their own email. More on shared password vs email whitelist.

The password covers the whole site, and Starter has 1 site, so the whole class site sits behind one password. Want a public page for parents plus a private one for class material? That's two sites, which needs Pro (5 sites).

Handouts shared from Google Drive can't take a password either (why, and what works).

Update it during the term

Pick a routine: five minutes on Friday to change the date, the homework list and the week's handouts.

  • AI route: paste your current file back into the chat, ask for the change, save it.
  • Template route: edit the list in any text editor.
  • Upload: drop the whole zipped folder again, PDFs included. A new upload replaces all of the site's files at the same address.

Same address, so the printed QR code and the Classroom link keep working all term. In Google Sites, edit, then click Publish again.

Prodigy's guide puts it bluntly: "Keep it up to date!" A plain page with this week's homework beats a pretty one from September.

Free teacher website: what $0 gets you

Google Sites, Wix Free, Weebly Free and Hostsmith's Free plan all put a teacher website online at $0, each with a catch. Checked November 21, 2026:

  • Google Sites: $0 with any Google account. No password: Google accounts only. Own domain on public sites.
  • Wix: $0 on a wixsite.com address, with ads. Page passwords. Own domain on paid plans.
  • Weebly: $0 with Square ads. Password on Professional and up. Own domain on Personal and up.
  • Hostsmith: Free plan with 1 site, 5 MB and the watermark. Password on Starter and up. Own domain on Pro and up.

Sources: Google Sites help, Wix help, Weebly pricing and Hostsmith pricing.

What that short list leaves out:

  • Wix Free comes with 500 MB of storage and 1 GB of bandwidth. Its site-wide password "is not currently available to all users" (Wix help), so plan on page passwords.
  • Weebly is shutting down in 67 countries, though not the US.
  • Hostsmith hosts the page; you make it with an AI chat or the template. It doesn't handle forms, so use Google Forms for sign-ups and permission slips.

If anyone without a school account needs the page, parents included, we'd pick a hosted HTML page: a Restricted Google Site only opens for the accounts you add, and Sites has no password to hand out.

Frequently asked questions

How do I make a Google Classroom? Go to classroom.google.com, sign in, click Add > Create class, enter a class name and click Create. The steps are in the Google Classroom section above.

How do I link a website to Google Classroom? Open the class, click Classwork > Create > Material, then Add > Link, paste your address and click Post.

Can ChatGPT make a classroom website? Yes, as a single HTML file. Use the prompt above, save the reply as an HTML file, and upload it to a host to get a link.

Are teachers allowed to make a classroom website outside the district site? It depends on your district, which may have a rule about teacher pages outside the district website. Ask your principal or tech coordinator before you publish.

Can you password protect a Google Site? No. Google Sites can be Public or Restricted to Google accounts you add, but it has no password setting.

Build for the parent on a personal phone at 9 pm with no school account. One page, one short link, one QR code on the syllabus. Add the class password the moment the page holds class material, and keep the answer keys off it.

When you're ready to put that page behind one password your students can type on any phone, here's how a password-protected page works on Hostsmith.