Hacker News new | ask | show | jobs
by nate 4760 days ago
Are you using route53 to do an alias AND have the root domain use SSL? The setup at route53 is confounding me. I thought I'd setup a CNAME www.domain.com that points to sub.herokussl.com, and than an A record Alias that points domain.com to www.domain.com. But Amazon seems to not avow that the CNAME record is a "Record Set" that I can use for this.
2 comments

That's interesting. Have you tried it the other way around?

- domain.com ALIAS sub.herokussl.com - www.domain.com CNAME domain.com

Amazon doesn't like that Alias either. A friend on mine, Scott, just figured out though that you can point your Alias record at any ELB even outside your account:

https://twitter.com/scottvdp/status/341604885600534530

So I can make an Alias record to the ELB that heroku is pointing at with their SSL CNAMES.

Did you set up the S3 bucket with static file hosting redirecting to the www subdomain, before you try adding the alias in 53?