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.comdomain.com
  • io.domain.comusername.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:

  1. an record www
  2. an record @ 192.30.252.153
  3. an record @ 192.30.252.154
  4. a cname aliasing www.domain.com username.github.io. (note trailing period)
  5. 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

Popular posts from this blog

c# - Validate object ID from GET to POST -

node.js - Custom Model Validator SailsJS -

php - Find a regex to take part of Email -