How to link my Google Domain to a custom HTML webpage

Pacific Bird picture Pacific Bird · May 7, 2017 · Viewed 9.4k times · Source

My team and I have recently purchased a Google Domain, but when trying to have the website it is connected to, it only gives us the options of website builders. We have a GitHub repository with all of our files that we want it to host, but again, only website builders. Can I make my Google Domain connect to a custom HTML page?

Answer

OsakaStarbux picture OsakaStarbux · Jun 26, 2017

You can host your content on GitHub and serve them with GitHub Pages

https://pages.github.com

You can have your Google Domains domain point to it.

https://help.github.com/articles/using-a-custom-domain-with-github-pages/

You'll need to add a CNAME file to your repo with your domain URL in it. Add it manually or follow the instructions here.

https://help.github.com/articles/adding-or-removing-a-custom-domain-for-your-github-pages-site/

You'll need to add some A records at the Google Domains control panel with the IP addresses of GitHub's servers (currently 192.30.252.153 and 192.30.252.154).

https://support.google.com/domains/answer/3290350?hl=en