DNS configuration to force root domain to www

Posted by kolosy on Pro Webmasters See other posts from Pro Webmasters or by kolosy
Published on 2012-03-09T18:26:47Z Indexed on 2012/07/02 15:24 UTC
Read the original article Hit count: 381

Filed under:
|
|

we have an app running on heroku. the dns setup is like this:

A record for domain.com -> heroku front end ip addresses CNAME for www.domain.com -> specific host name for our app provided by heroku

we also have an SSL cert for www.domain.com.

the issue is that if someone goes to https://domain.com/secure_stuff, they will get heroku's SSL cert, instead of ours, causing lots of fear. We can do things on our end to make sure that all of our URLs point to https://www.domain.com, but it still won't solve this specific issue.

is there a way to configure the DNS record to redirect all root domain traffic to the www subdomain?

© Pro Webmasters or respective owner

Related posts about dns

Related posts about ssl