Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change the CNAME for rust-lang.org #14155

Closed
brson opened this issue May 12, 2014 · 2 comments
Closed

Change the CNAME for rust-lang.org #14155

brson opened this issue May 12, 2014 · 2 comments

Comments

@brson
Copy link
Contributor

brson commented May 12, 2014

Our static.rust-lang.org CNAME points to static.rust-lang.org.s3.amazonaws.com, but apparently if we instead use static.rust-lang.org.s3-website-us-west-1.amazonaws.com then index.html works correctly. cc #11897.

13:14 <@brson> acrichto: do you have a link to that DNS issue you were talking about this morning?
13:14 <@acrichto> brson: http://docs.aws.amazon.com/AmazonS3/latest/dev/WebsiteHosting.html -- kinda
13:15 <@brson> acrichto: what is it you think we need to do?
13:16 <@acrichto> currently there is a CNAME record for static.rust-lang.org pointing at static.rust-lang.org.s3.amazonaws.com
13:16 < eddyb> please enable index.html if you're fiddling with aws settings
13:17 <@brson> eddyb: can you tell me how to 'enable index.html'?
13:17 < eddyb> I know someone explaining it somewhere, maybe a github issue
13:18 <@acrichto> brson: we need another cname record
13:18 < eddyb> brson: https://github.com/mozilla/rust/issues/11897
13:18 <@acrichto> let me figure out what it needs to be
13:18 < eddyb> oh acrichto tried it already
13:18 <@acrichto> brson: static.rust-lang.org.s3-website-us-west-1.amazonaws.com
13:18 <@acrichto> brson: if you take a look at that link "/doc/master" will render the index.html page
13:18 <@acrichto> (as it's already configured to do)
13:19 <@acrichto> I think that for it to work properly on static.rust-lang.org that we need to have a CNAME ourselves pointing at that host
13:19 < eddyb> acrichto: aaah this is the same thing?
13:19 <@acrichto> eddyb: visit that url at "/doc/master"
13:19 <@brson> acrichto: do you know why the different hosts behave differentlny?
13:19 < eddyb> haha I feel even sillier
13:19 <@acrichto> http://static.rust-lang.org.s3-website-us-west-1.amazonaws.com/doc/master/
13:19 < eddyb> acrichto: yeah I saw it :D
13:19 <@acrichto> we're already configured for an index.html
13:19 <@acrichto> it's just not working
@brson
Copy link
Contributor Author

brson commented May 12, 2014

Nominating.

@alexcrichton
Copy link
Member

This has been done now, yay!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants