DEV Community

loading...

Discussion on: How to set up Namecheap domain and subdomain on GitHub Pages

Collapse
mzaini30 profile image
Zen

If I wanna register one domain and two subdomain, is this right CNAME setting:

hostname target
www cat.github.io
books cat.github.io/books
travel cat.github.io/travel
Collapse
mingyong profile image
Ming Yong Author

Hi Zen, I think you don't need the "/books" and "/travel", so

Type Host Value TTL
CNAME Record www cat.github.io Automatic
CNAME Record books cat.github.io Automatic
CNAME Record travel cat.github.io Automatic
Collapse
mzaini30 profile image
Zen

Thanks