dns - GitHub Pages Custom Domain Settings -
i'm trying configure github naked domain.com (apex in github) , www.domain.com.
i have username.github.io working ok.
my record pointing 192.30.252.153 , 192.30.252.154.
i have 2 cname records set:
www.domain.com→domain.comio.domain.com→username.github.io
this configuration, however, not working.
accessing domain.com results in 404 on github. meanwhile, accessing www.domain.com results in err_name_not_resolved.
existing documentation confusing , there's no clear way of configuring things end-to-end.
can tell me i'm missing?
here's i've done domain.com , www.domain.com working you'll need this:
- an record www
- an record @ 192.30.252.153
- an record @ 192.30.252.154
- a cname aliasing www.domain.com username.github.io. (note trailing period)
- the "cname" file in github pages repo contains text "domain.com"
i think wildcard record may optional in case i'm not certain.
edit: removed wildcard record. @mheadroom pointed out github recommends against entry because allow host github pages site on 1 of subdomains! https://help.github.com/articles/tips-for-configuring-a-cname-record-with-your-dns-provider/
Comments
Post a Comment