Hosting guide

GitHub Pages Documentation

Understand static deployment, asset paths and the boundary between a website and a server.

Web DevelopmentFree accessFoundations first

Where This Fits

Read this when you are ready to publish a separate practice website. Understand what static hosting serves: generated or hand-written HTML, CSS, JavaScript and other files. A browser application can use APIs, but Pages itself does not run your Node API or database.

Before deploying, inspect the files and repository visibility. Test asset paths as they will behave under the site's URL, and write down how to rebuild and update the output. Publishing should be a deliberate step with a known audience.

Before You Start

  • A completed static practice project
  • Basic GitHub repository knowledge

What to Focus On

  • Static hosting and generated files
  • Repository and site paths
  • Deployment boundaries

Put It into Practice

Prepare a small practice site's static output and a deployment checklist. Check links under a subpath and explain where a hypothetical API would need to run before choosing to publish.

Check Your Understanding

  • Identify every required static asset
  • Explain why a Node server cannot run here
  • Review the intended audience

Access and Limits

Free documentation; hosting is available for public repositories on GitHub Free. Private-repository availability depends on plan, and custom domain registration is separate.

Using It Offline

You can prepare and test files locally; hosting and remote deployment require internet.

Check the official source

Follow the learning path
HACKTRONIAN_CLI // COMMAND PALETTE
QUICK_EXEC: