How to host your website for free

Learn how to host your website for free using Netlify's hosting in combination with GitHub's source control. This method is ideal for those who want a simple, static website without ongoing hosting costs.

What's needed

  • A domain (preferably registered through Cloudflare)
  • A GitHub account (sign up at GitHub.com)
  • A Netlify account (sign up at Netlify.com)

Step-by-step setup

1. Set Up Your GitHub Repository

  • Create a GitHub account if you don’t have one.
  • Set up a new repository on GitHub.
  • Upload your website files (HTML, CSS, JavaScript) using GitHub.dev or Visual Studio Code.

2. Deploy Your Site on Netlify

  • Sign up at Netlify.com using your GitHub account.
  • Click on Deploy a new project.
  • Select GitHub as the source and choose your newly created repository.
  • Name your project and click Deploy.

3. Connect Your Domain via Cloudflare

  • Go to Cloudflare.com and purchase a domain.
  • Configure your domain’s DNS settings to point to Netlify.
  • Log in to Netlify, navigate to your project, and add your domain name.

Your website is now live and hosted for free!

Advantages of your free website

Zero Hosting Fees – Unlike Wix or Squarespace, Netlify offers free hosting with no hidden costs.

Full Ownership – You control your files and can move or modify them anytime.

Improved Performance – Static websites can load faster and are more secure compared to CMS-based websites.

High Security – Static HTML sites are more secure that 

Scalability – Ideal for simple portfolios, landing pages, or business info pages.

Disadvantages & Limitations

⚠️ Limited to Static Sites – This setup is not suitable for dynamic content, blogs, or e-commerce sites.

⚠️ No Built-in CMS – The basic HTML site will not allow advanced content management.

⚠️ Technical Knowledge Required – Making edits requires basic knowledge of HTML & CSS, though tools like ChatGPT can assist. I do offer this service, if you are interested drop me a message.

Who Is This Ideal For?

This setup works best for:

  • Single page websites
  • Low traffic websites
  • Freelancers/small business just starting out
  • Individuals with low budget
  • You are not looking to update content frequently

If you need a cost-effective, low-maintenance website, this is a great solution!

Recent posts:

Why You Need a Website Maintenance Plan (And How to Know If You’re At Risk)

Why You Need a Website Maintenance Plan (And How to Know If You're At Risk) Your website is often the first impression potential customers have of your business. But what happens when it breaks down at the worst possible moment? A maintenance plan isn't just a nice-to-have—for many busineses, it's essential protection for their digital […]

Fixing WordPress Email Issues After WP 6.9 on SiteGround

If you've recently updated to WordPress 6.9 and suddenly found that your contact forms, password resets, and notification emails have stopped working on SiteGround hosting, you're not alone. I recently encountered this frustrating issue and wanted to share the solutions that got my emails flowing again. The Problem: wp_mail() Stopped Working After upgrading to WordPress […]

How I Tripled Conversions on the Same Google Ads Budget

When I took over a Google Ads account in February, the previous agency had done what most agencies do: optimised for vanity metrics. More clicks. More impressions. More keywords. More "activity" to justify their monthly retainer. The client was spending the same amount every month and getting… about the same mediocre results every month. By […]

Start your project today

Get in touch
Contact Form
crosschevron-left