dnsimple

Heroku + Django + Dnsimple - How Do I redirect www request to non-www domain

醉酒当歌 提交于 2020-01-03 16:49:36
问题 Hi i have a django site on Heroku with Dnsimple to manage DNS. I am also using Django to force HTTPS. I am trying to follow google protocol so that I only have one domain https://example.com So that if a user visits http://www.example.com or https://www.example.com it will redirect to https://example.com My settings in Dnsimple look like this: ALIAS example.com example.com.herokudns.com CNAME www.example.com example.com.herokudns.com I tried deleting the cname and using the URL redirect in

Redirecting naked domain to www with DNSimple

拜拜、爱过 提交于 2019-12-20 14:16:04
问题 We're using DNS simple to point our domain to our SSL-enabled Heroku app. The behavior we're seeking is as follows: http://ourdomain.com https://ourdomain.com http://www.ourdomain.com Should all permanently redirect to: https://www.ourdomain.com We've already created a CNAME for www.ourdomain.com that points to our app's .herokussl.com domain, but we're not sure what to do with the naked domains. In GoDaddy, we used to do non-masked forwarding. DNSimple doesn't have forwarding, but does have

Renewing SSL certificate on Heroku

时光总嘲笑我的痴心妄想 提交于 2019-12-12 10:36:35
问题 Our existing SSL certificate is about to expire, and so we're trying to install a new one. However, the instructions on Heroku are lacking... Creating the bundle To create the bundle, you're supposed to concatenate a bunch of intermediate cert files together in the correct order. Example on Heroku: $ cat EssentialSSLCA_2.crt ComodoUTNSGCCA.crt UTNAddTrustSGCCA.crt AddTrustExternalCARoot.crt > bundle.pem (https://devcenter.heroku.com/articles/ssl-certificate-dnsimple) We received a different

Redirecting naked domain to www with DNSimple

混江龙づ霸主 提交于 2019-12-03 02:53:30
We're using DNS simple to point our domain to our SSL-enabled Heroku app. The behavior we're seeking is as follows: http://ourdomain.com https://ourdomain.com http://www.ourdomain.com Should all permanently redirect to: https://www.ourdomain.com We've already created a CNAME for www.ourdomain.com that points to our app's .herokussl.com domain, but we're not sure what to do with the naked domains. In GoDaddy, we used to do non-masked forwarding. DNSimple doesn't have forwarding, but does have special entries called ALIAS and URL, though we're not sure what to use. To configure a redirect you

Nginx redirect http://www and naked http/https to https://www

会有一股神秘感。 提交于 2019-11-30 20:31:59
I would like to redirect all traffic from the following domains: http://domain.com http://www.domain.com https://domain.com to https://www.domain.com I have a SSL certificate for the above domain. It hosts a Rails app, served by Passenger. To accomplish the naked domain redirect, I've set up an URL redirect in my DNSimple account: URL domain.com 3600 https://www.domain.com My server blocks are as follows (Inspired by Nginx no-www to www and www to no-www amongst others): server { listen 80; listen 443; server_name domain.com; ssl on; ssl_certificate /etc/ssl/domain-ssl.crt; ssl_certificate_key

Nginx redirect http://www and naked http/https to https://www

邮差的信 提交于 2019-11-30 03:58:30
问题 I would like to redirect all traffic from the following domains: http://domain.com http://www.domain.com https://domain.com to https://www.domain.com I have a SSL certificate for the above domain. It hosts a Rails app, served by Passenger. To accomplish the naked domain redirect, I've set up an URL redirect in my DNSimple account: URL domain.com 3600 https://www.domain.com My server blocks are as follows (Inspired by Nginx no-www to www and www to no-www amongst others): server { listen 80;