Create a Website Using GitHub Free Hosting Pages

Create a Website Using GitHub Free Hosting Pages

How to Host a Website On GitHub Pages

Want to host your website for free? Let me show you how to host a static website on GitHub Pages. You won’t need any fancy web hosting, just some basic files and your GitHub account.

github free hosting

Step-by-Step Guide to GitHub Website Hosting

Open GitHub and Log In


Head to GitHub.com and log in.
Look for the “+” icon in the top-right corner and click “New repository.”

github free hosting

Create Your Repository

Give your repository a name and tick the box to add a README file. Then, hit "Create repository."
github free hosting

Upload Website Files

Click “Add file” → “Upload files” → drag and drop your website’s files or click to select them manually.
github free hosting

github free hosting

github free hosting



github free hosting

Deploy Your Website on GitHub

Once the files are uploaded, go to SettingsPages → under “Build and Deployment,” choose GitHub Actions and select “Static HTML.”
github free hosting
github free hosting


github free hosting

github free hosting

Finalize the Deployment

Click Commit changes, and GitHub will automatically start deploying your website.

github free hosting

Find Your Live Link

Once deployment finishes, return to SettingsPages to find your website link. Congratulations, your site is live!

github free hosting

github free hosting

github free hosting

github free hosting

Why Choose GitHub for Free Hosting?

  • Cost-Free Hosting – Ideal for small personal projects.
  • Easy Setup – No tech wizardry required.
  • Custom Domains – Connect your domain without extra hosting fees.



Previous Post Next Post

نموذج الاتصال