The last modifications of this post were around 3 years ago, some information may be outdated!
This is a draft, the content is not complete and of poor quality!
DNS & Github Pages
🔅 Point tool.dinhanhthi.com to dinhanhthi.github.io/tools
- On Github repository's setting (
github.com/dinhanhthi/tools/settings), in the Custom domain section:tool.dinhanhthi.com. - On DNS manager: create a
CNAMErecord pointing fromtool(Name section) todinhanhthi.github.io(Content section).
💡 For other github projects pages (e.g. others than /tools), you do the same things.
DNS & Netlify sites
- On Netlify site, go to Domain Settings, in Custom domains, click on Add domain alias, fill in your custom domain and Save (Ignore the warnings).
- In DNS setting:
- From
sub.domain.comtoapp-name.netlify.com: create aCNAMErecord withsubas Name andapp-name.netlify.comas Content. - From
domain.comtoapp-name.netlify.com:- Create a
Arecord withdomain.comas Name and104.198.14.52as Content. - Create a
CNAMErecord withwwwas Name andapp-name.netlify.comas Content.
- Create a
- From
DNS settings
🔅 Forward all sites in note.dinhanhthi.com to dinhanhthi.com: create a CNAME record with note as Name and dinhanhthi.com as Content.
💬 Comments