🔅 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
CNAME
record pointing fromtool
(Name section) todinhanhthi.github.io
(Content section).
💡 For other github projects pages (e.g. others than
/tools
), you do the same things.- 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.com
toapp-name.netlify.com
: create aCNAME
record withsub
as Name andapp-name.netlify.com
as Content. - From
domain.com
toapp-name.netlify.com
: - Create a
A
record withdomain.com
as Name and104.198.14.52
as Content. - Create a
CNAME
record withwww
as Name andapp-name.netlify.com
as Content.
🔅 Forward all sites in
note.dinhanhthi.com
to dinhanhthi.com
: create a CNAME
record with note
as Name and dinhanhthi.com
as Content.