In this article, I will use GitHub page (github.io) as it’s free and a custom domain purchased from Namecheap

  1. Purchase your favourite domain in Namecheap

  2. Create a GitHub account, then create a repo named your-account-name.github.io, it will build a page automatically.

  3. Build your landing page with any web framework and push to the repository your-account-name.github.io

  4. Link domain with github page:

  5. Go to your domain panel> Advance DNS > Add 4 A record(s) with IP as below with Host as @:

    • 185.199.108.153

    • 185.199.109.153

    • 185.199.110.153

    • 185.199.111.153

    And a CNAME record with Host as www and value as your-account-name.github.io

Go to the repo your-account-name.github.io > Settings > Pages , fill your custom domain and wait DNS check to be successful! Voila! You can also check Enforce HTTPS . GitHub page will auto-provide TLS/SSL to your site.