nam1962 / returnsworth

Ruby on Rails app & PWA to manage commerce logistics returns
https://returnsworth-0dc66e0a7879.herokuapp.com/
GNU Affero General Public License v3.0
0 stars 1 forks source link

Create a cloudflare account, setup cloudflare and ssl #22

Closed nam1962 closed 1 year ago

nam1962 commented 1 year ago
heroku plugins:install heroku-fork
heroku fork --from returnsworth --to returnsworth_eu --region eu
heroku apps:destroy --app  returnsworth --confirm returnsworth
heroku create returnsworth --region eu
git push heroku master
heroku domains:add eleanor.returnsworth.online
whois returnsworth.online
curl -I -L  returnsworth.online
dig CNAME returnsworth.online
curl -I -L  returnsworth.online
heroku domains
host eleanor.returnsworth.online
heroku domains
heroku domains:add returnsworth.online
heroku domains:add www.returnsworth.online
heroku domains
curl -I -L  returnsworth.online
curl -I -L  eleanor.returnsworth.online
nam1962 commented 1 year ago

https://blog.lewagon.com/skills/buying-a-domain-on-namecheap-and-pointing-it-to-heroku/

https://blog.lewagon.com/skills/setting-up-free-ssl-certificate-heroku/

https://developers.cloudflare.com/support/other-languages/fran%C3%A7ais-france/comprendre-et-configurer-cloudflare-page-rules-tutoriel-page-rules/

nam1962 commented 1 year ago

ajout des dns de cloudflare dans namecheap

Image

nam1962 commented 1 year ago

Réglage des Cname dans cloudflare avec les url de heroku

Image

Image

Attention, l'instruction réelle est sans fioritures : ``` returnsworth.online/ Forwarding URL (Status Code: 301 - Permanent Redirect, Url: https://eleanor.returnsworth.online)

nam1962 commented 1 year ago

rêgle de redirection du root domain vert le sous-domaine dans cloudflare

Image