codeisland / codeisland.github.io

New home for Code Island projects
2 stars 4 forks source link

DNS issue? #10

Closed goldenmeanie closed 9 years ago

goldenmeanie commented 9 years ago

code-island.org seems broken this morning. Did we screw up the DNS adjustment somehow? @joealba got a second to look? Did I bork the CNAME thing again?

screen shot 2014-11-19 at 11 07 57 am

joealba commented 9 years ago

Yes, DNS does not look right. Follow the instructions here:

https://help.github.com/articles/tips-for-configuring-a-cname-record-with-your-dns-provider/

goldenmeanie commented 9 years ago

@zer0dave does this look like the same strategy you used?

Frymasterspeck commented 9 years ago

I am still seeing the strikingly site.

zer0dave commented 9 years ago

Weird..... It should have updated...... On Nov 20, 2014 11:36 AM, "Frymaster Speck" notifications@github.com wrote:

I am still seeing the strikingly site.

— Reply to this email directly or view it on GitHub https://github.com/codeisland/codeisland.github.io/issues/10#issuecomment-63837084 .

goldenmeanie commented 9 years ago

@zer0dave did you use the strategy shown in the github help article? https://help.github.com/articles/tips-for-configuring-a-cname-record-with-your-dns-provider/ You mentioned a few details at the meetup, but I can't recall the specifics.

It seems like there are some peculiarities to the Github Pages infrastructure that might be contributing.

zer0dave commented 9 years ago

Ah. I will fix. On Nov 20, 2014 11:40 AM, "Alex Taylor" notifications@github.com wrote:

@zer0dave https://github.com/zer0dave did you use the strategy shown in the github help article? https://help.github.com/articles/tips-for-configuring-a-cname-record-with-your-dns-provider/ You mentioned a few details at the meetup, but I can't recall the specifics.

It seems like there are some peculiarities to the Github Pages that might be contributing.

— Reply to this email directly or view it on GitHub https://github.com/codeisland/codeisland.github.io/issues/10#issuecomment-63837821 .

goldenmeanie commented 9 years ago

This still looks broken to me. Anything I can do to help?

zer0dave commented 9 years ago

Check it in 30mins. On Nov 21, 2014 11:34 AM, "Alex Taylor" notifications@github.com wrote:

This still looks broken to me. Anything I can do to help?

— Reply to this email directly or view it on GitHub https://github.com/codeisland/codeisland.github.io/issues/10#issuecomment-63996798 .

goldenmeanie commented 9 years ago

@zer0dave is this up for you? I am still unable to load the site.

zer0dave commented 9 years ago

I might be missing something by doing it on my phone. Let me boot some iron and take a look.

-Dave On Nov 25, 2014 10:56 AM, "Alex Taylor" notifications@github.com wrote:

@zer0dave https://github.com/zer0dave is this up for you? I am still unable to load the site.

— Reply to this email directly or view it on GitHub https://github.com/codeisland/codeisland.github.io/issues/10#issuecomment-64421569 .

zer0dave commented 9 years ago

I figured it out. They wanted additional A records for @ in addition to the cname record. Its working now.

-Dave On Nov 25, 2014 10:58 AM, "David Johnson" djohnson@code-island.org wrote:

I might be missing something by doing it on my phone. Let me boot some iron and take a look.

-Dave On Nov 25, 2014 10:56 AM, "Alex Taylor" notifications@github.com wrote:

@zer0dave https://github.com/zer0dave is this up for you? I am still unable to load the site.

— Reply to this email directly or view it on GitHub https://github.com/codeisland/codeisland.github.io/issues/10#issuecomment-64421569 .

joealba commented 9 years ago

You have to set up the CNAME record to codeisland.github.io only. No A records.

Check the docs at https://help.github.com/articles/tips-for-configuring-a-cname-record-with-your-dns-provider/

zer0dave commented 9 years ago

Joe, it seems to be working now.... As opposed to when I didn't setup A records..... If it screws it up I will adjust.

-Dave On Nov 25, 2014 11:31 AM, "Joe Alba" notifications@github.com wrote:

You have to set up the CNAME record to codeisland.github.io only. No A records.

Check the docs at https://help.github.com/articles/tips-for-configuring-a-cname-record-with-your-dns-provider/

— Reply to this email directly or view it on GitHub https://github.com/codeisland/codeisland.github.io/issues/10#issuecomment-64428051 .

zer0dave commented 9 years ago

Unless of course you know of a scenario where this will make it worse and I should remove all A records. But it was a suggestion from github users. On Nov 25, 2014 11:32 AM, "David Johnson" djohnson@code-island.org wrote:

Joe, it seems to be working now.... As opposed to when I didn't setup A records..... If it screws it up I will adjust.

-Dave On Nov 25, 2014 11:31 AM, "Joe Alba" notifications@github.com wrote:

You have to set up the CNAME record to codeisland.github.io only. No A records.

Check the docs at https://help.github.com/articles/tips-for-configuring-a-cname-record-with-your-dns-provider/

— Reply to this email directly or view it on GitHub https://github.com/codeisland/codeisland.github.io/issues/10#issuecomment-64428051 .

joealba commented 9 years ago

You should remove all A records. The docs are your friend. :)

The underlying fastly.net addresses will change frequently. In fact, it's already changed since the last time you updated the A record, and I can't get to the site.

goldenmeanie commented 9 years ago

I'm getting a different "website not available" error now.

not-available

zer0dave commented 9 years ago

Curses! OK I will remove.

-Dave On Nov 25, 2014 11:37 AM, "Joe Alba" notifications@github.com wrote:

You should remove all A records. The docs are your friend. :)

The underlying fastly.net addresses will change frequently. In fact, it's already changed since the last time you updated the A record, and I can't get to the site.

— Reply to this email directly or view it on GitHub https://github.com/codeisland/codeisland.github.io/issues/10#issuecomment-64429181 .

zer0dave commented 9 years ago

Try it in a couple mins. Removed the A records. On Nov 25, 2014 11:38 AM, "Alex Taylor" notifications@github.com wrote:

I'm getting a different "website not available" error now.

[image: not-available] https://cloud.githubusercontent.com/assets/1969/5186920/78907c60-7497-11e4-875f-0b8d54614abe.png

— Reply to this email directly or view it on GitHub https://github.com/codeisland/codeisland.github.io/issues/10#issuecomment-64429293 .

zer0dave commented 9 years ago

Joe is was working for me fine with the A records in place. I removed them and the cname is still "codeisland.github.io". Now I cannot access the site via "code-island.org".... suggestions? On Nov 25, 2014 11:39 AM, "David Johnson" djohnson@code-island.org wrote:

Try it in a couple mins. Removed the A records. On Nov 25, 2014 11:38 AM, "Alex Taylor" notifications@github.com wrote:

I'm getting a different "website not available" error now.

[image: not-available] https://cloud.githubusercontent.com/assets/1969/5186920/78907c60-7497-11e4-875f-0b8d54614abe.png

— Reply to this email directly or view it on GitHub https://github.com/codeisland/codeisland.github.io/issues/10#issuecomment-64429293 .

joealba commented 9 years ago

I see the correct CNAME record on www.code-island.org but not on code-island.org. That's causing the current problem.

On Nov 25, 2014, at 1:09 PM, zer0dave notifications@github.com wrote:

Joe is was working for me fine with the A records in place. I removed them and the cname is still "codeisland.github.io". Now I cannot access the site via "code-island.org".... suggestions?


Joe Alba joe@joealba.com

zer0dave commented 9 years ago

Hey Joe, I put the A records back and we will we if it fixes it. Check it in 30. If its still not working would you mind helping me figure it out?

-Dave On Nov 25, 2014 1:19 PM, "Joe Alba" notifications@github.com wrote:

I see the correct CNAME record on www.code-island.org but not on code-island.org. That's causing the current problem.

On Nov 25, 2014, at 1:09 PM, zer0dave notifications@github.com wrote:

Joe is was working for me fine with the A records in place. I removed them and the cname is still "codeisland.github.io". Now I cannot access the site via "code-island.org".... suggestions?


Joe Alba joe@joealba.com

— Reply to this email directly or view it on GitHub.

joealba commented 9 years ago

You need a CNAME record for code-island.org to codeisland.github.io

zer0dave commented 9 years ago

As far as I can tell, that's what I did. This is why I'm perplexed. Not new to this type of thing. Must be something I'm missing.

-Dave On Nov 25, 2014 7:15 PM, "Joe Alba" notifications@github.com wrote:

You need a CNAME record for code-island.org to codeisland.github.io

— Reply to this email directly or view it on GitHub https://github.com/codeisland/codeisland.github.io/issues/10#issuecomment-64495207 .

zer0dave commented 9 years ago

I took the A records out only a few minutes after I sent the previous email mentioning it after I confirmed it was working. I might put them back.

-Dave On Nov 25, 2014 7:18 PM, "David Johnson" djohnson@code-island.org wrote:

As far as I can tell, that's what I did. This is why I'm perplexed. Not new to this type of thing. Must be something I'm missing.

-Dave On Nov 25, 2014 7:15 PM, "Joe Alba" notifications@github.com wrote:

You need a CNAME record for code-island.org to codeisland.github.io

— Reply to this email directly or view it on GitHub https://github.com/codeisland/codeisland.github.io/issues/10#issuecomment-64495207 .

joealba commented 9 years ago

Troubleshoot using these dig commands. The response for www.code-island.org looks correct. The one for code-island.org is wrong and should look just like the top one.

> dig www.code-island.org +nostats +nocomments +nocmd

; <<>> DiG 9.8.3-P1 <<>> www.code-island.org +nostats +nocomments +nocmd
;; global options: +cmd
;www.code-island.org.   IN  A
www.code-island.org.  3339  IN  CNAME codeisland.github.io.
codeisland.github.io. 3339  IN  CNAME github.map.fastly.net.
github.map.fastly.net.  23  IN  A 199.27.76.133

> dig code-island.org +nostats +nocomments +nocmd

; <<>> DiG 9.8.3-P1 <<>> code-island.org +nostats +nocomments +nocmd
;; global options: +cmd
;code-island.org.   IN  A
code-island.org.  2702  IN  A 50.63.202.19
zer0dave commented 9 years ago

It won't let me throw an @ into the cname record list for some reason. The only option seems to be a www record. However I did notice an error with turning off masking in the forwarding section. It said the page was in a redirect loop. Is the file on the github.io page setup properly?

-Dave On Nov 25, 2014 7:32 PM, "Joe Alba" notifications@github.com wrote:

Troubleshoot using these dig commands. The response for www.code-island.org looks correct. The one for code-island.org is wrong and should look just like the top one.

dig www.code-island.org +nostats +nocomments +nocmd

; <<>> DiG 9.8.3-P1 <<>> www.code-island.org +nostats +nocomments +nocmd ;; global options: +cmd ;www.code-island.org. IN Awww.code-island.org. 3339 IN CNAME codeisland.github.io.codeisland.github.io. 3339 IN CNAME github.map.fastly.net.github.map.fastly.net. 23 IN A 199.27.76.133

dig code-island.org +nostats +nocomments +nocmd

; <<>> DiG 9.8.3-P1 <<>> code-island.org +nostats +nocomments +nocmd ;; global options: +cmd ;code-island.org. IN Acode-island.org. 2702 IN A 50.63.202.19

— Reply to this email directly or view it on GitHub https://github.com/codeisland/codeisland.github.io/issues/10#issuecomment-64496744 .

zer0dave commented 9 years ago

Messed with it again. Let it update. We will see what it looks like in the morning.

-Dave On Nov 25, 2014 7:40 PM, "David Johnson" djohnson@code-island.org wrote:

It won't let me throw an @ into the cname record list for some reason. The only option seems to be a www record. However I did notice an error with turning off masking in the forwarding section. It said the page was in a redirect loop. Is the file on the github.io page setup properly?

-Dave On Nov 25, 2014 7:32 PM, "Joe Alba" notifications@github.com wrote:

Troubleshoot using these dig commands. The response for www.code-island.org looks correct. The one for code-island.org is wrong and should look just like the top one.

dig www.code-island.org +nostats +nocomments +nocmd

; <<>> DiG 9.8.3-P1 <<>> www.code-island.org +nostats +nocomments +nocmd ;; global options: +cmd ;www.code-island.org. IN Awww.code-island.org. 3339 IN CNAME codeisland.github.io.codeisland.github.io. 3339 IN CNAME github.map.fastly.net.github.map.fastly.net. 23 IN A 199.27.76.133

dig code-island.org +nostats +nocomments +nocmd

; <<>> DiG 9.8.3-P1 <<>> code-island.org +nostats +nocomments +nocmd ;; global options: +cmd ;code-island.org. IN Acode-island.org. 2702 IN A 50.63.202.19

— Reply to this email directly or view it on GitHub https://github.com/codeisland/codeisland.github.io/issues/10#issuecomment-64496744 .

joealba commented 9 years ago

Check out Heroku's instructions for some root domain tips: https://devcenter.heroku.com/articles/custom-domains#root-domain

According to DNSimple (http://support.dnsimple.com/articles/alias-record/), you may have better luck setting up an ALIAS record rather than a CNAME depending on the service you use for DNS.

If you can't get the ALIAS/CNAME record set up for the root domain record, we could change the CNAME file in the repo to www.code-island.org instead.

zer0dave commented 9 years ago

I read something in the instructions on github for setting up a cname file in a directory for the pages to work correctly. Can anyone confirm this is necessary and if so, has it been done?

-Dave On Nov 25, 2014 10:37 PM, "Joe Alba" notifications@github.com wrote:

Check out Heroku's instructions for some root domain tips: https://devcenter.heroku.com/articles/custom-domains#root-domain

According to DNSimple (http://support.dnsimple.com/articles/alias-record/), you may have better luck setting up an ALIAS record rather than a CNAME depending on the service you use for DNS.

If you can't get the ALIAS/CNAME record set up for the root domain record, we could change the CNAME file in the repo to www.code-island.org instead.

— Reply to this email directly or view it on GitHub https://github.com/codeisland/codeisland.github.io/issues/10#issuecomment-64510642 .

zer0dave commented 9 years ago

Also, Site is working for me right now. Can anyone confirm? On Nov 25, 2014 10:37 PM, "Joe Alba" notifications@github.com wrote:

Check out Heroku's instructions for some root domain tips: https://devcenter.heroku.com/articles/custom-domains#root-domain

According to DNSimple (http://support.dnsimple.com/articles/alias-record/), you may have better luck setting up an ALIAS record rather than a CNAME depending on the service you use for DNS.

If you can't get the ALIAS/CNAME record set up for the root domain record, we could change the CNAME file in the repo to www.code-island.org instead.

— Reply to this email directly or view it on GitHub https://github.com/codeisland/codeisland.github.io/issues/10#issuecomment-64510642 .

joealba commented 9 years ago

CNAME file is currently set up for code-island.org: https://github.com/codeisland/codeisland.github.io/blob/master/CNAME

The site is also working for me right now.

zer0dave commented 9 years ago

Cool. Looks like the fix via setting up two A records I found earlier works like the manual said. I should have left it alone after putting it in place. On Nov 25, 2014 10:49 PM, "Joe Alba" notifications@github.com wrote:

CNAME file is currently set up for code-island.org: https://github.com/codeisland/codeisland.github.io/blob/master/CNAME

The site is also working for me right now.

— Reply to this email directly or view it on GitHub https://github.com/codeisland/codeisland.github.io/issues/10#issuecomment-64511385 .

goldenmeanie commented 9 years ago

Yay it works!