-
Notifications
You must be signed in to change notification settings - Fork 13.8k
Closed
Description
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
Metadata
Metadata
Assignees
Labels
No labels