So I have followed it to set up with the Gettible pages. According to them, I am trying to set it up using a custom subdomain.
I purchased my domain through GoDaddy, and I have added myname under myappname.github.io host (CNAME) using my DNS Manager tool:
< Img src = "https://i.stack.imgur.com/tecjD.png" alt = "Enter image details here">
I did not change anything other, such as A (host) As under that IP address
Finally, on my Gitub page when I go under settings, it says "Your site is published under www.myappname.com"
However, when I go to www.myappname.com, then I see the following:
What did I do?
Editing:
Output from excavator:
knock www.myappname.co; & Lt; & Lt; & Gt; & Gt; DIG 9.8.3-P1 & lt; & Lt; & Gt; & Gt; Www.myappname.co ;; Global Options: + CMD ;; Reply found: ;; - & gt; & Gt; HEADER & lt; & Lt; - opcode: QUERY, status: NOERROR, ID: 1974 ;; Flags: QR RD RA; QUERY: 1, Answer: 3, Authorization: 0, Extras: 0 ;; Question Section:; Www.myappname.co ;; Answer section: CNAME myappname.github.io myappname.github.io at www.myappname.co 3600 3600 CNAME github.map.fastly.net github.map.fastly.net 18 in one 199.27.76.133; Question time: 198ms ;; Server: 10.2.0.4 # 53 (10.2.0.4) ;; WHEN: Tues Mar 17 11:08:00 2015 ;; MSG size RCVD: 120
Your DNS www
The GitHub pages subdomain on the site, but your GitHub page CNAME
specifies that your application should run on the top domain, myappname.com
. This causes another redirection for the top domain, which, as you say in your question, indicates its own A
record pointing to non-GitHub IP addresses.
As we discussed, use CNAME in your repository to use
www.myappname.com
instead of a myappname.com
. It is possible to update the file and then set up a redirect from top domain to www
subdomain.
This will request myappname.github.io
and myappname.com
to redirect to www.myappname.com
For, where your site lives.
No comments:
Post a Comment