Static web hosting GitHub Pages, Netlify, and Vercel

Static web hosting is a great way to deploy and share your websites. Here’s a brief overview of how to use GitHub Pages, Netlify, and Vercel for static web hosting, along with their validity periods.

GitHub Pages

Setup:

  1. Create a Repository: Start by creating a new repository on GitHub. Ensure it’s public if you want it to be freely accessible.
  2. Add Your Files: Upload your website files (HTML, CSS, JavaScript, etc.) to the repository.
  3. Enable GitHub Pages:

Validity Period:
GitHub Pages hosting is free and does not have an expiration period as long as the repository remains active and complies with GitHub’s Terms of Service.

Netlify

Setup:

  1. Sign Up/Login: Create an account or log in to Netlify.
  2. New Site: Click on “New site from Git” on your Netlify dashboard.
  3. Connect to GitHub: Connect your GitHub account and select the repository you want to deploy.
  4. Deploy Settings: Configure your deploy settings and build commands (if necessary).
  5. Deploy: Click on “Deploy site.”

Validity Period:
Netlify offers a free tier that provides continuous hosting without a specific expiration date. However, higher traffic sites or advanced features may require a paid plan.

Vercel

Setup:

  1. Sign Up/Login: Create an account or log in to Vercel.
  2. New Project: Click on “New Project” and import your repository from GitHub, GitLab, or Bitbucket.
  3. Configure Project: Configure the project settings and build settings (if necessary).
  4. Deploy: Click “Deploy” to publish your site.

Validity Period:
Vercel also offers a free tier with continuous hosting, but similar to Netlify, high traffic or advanced features might require a paid plan.

Summary

All these services offer robust and scalable solutions for hosting static websites, each with their own set of features and limitations based on the chosen plan.