In this article, I will use GitHub page (github.io) as it’s free and a custom domain purchased from Namecheap
-
Purchase your favourite domain in Namecheap
-
Create a GitHub account, then create a repo named
your-account-name.github.io, it will build a page automatically. -
Build your landing page with any web framework and push to the repository
your-account-name.github.io -
Link domain with github page:
-
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 recordwith Host aswwwand value asyour-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.