Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Incubator Q&A

Welcome to the staging ground for new communities! Each proposal has a description in the "Descriptions" category and a body of questions and answers in "Incubator Q&A". You can ask questions (and get answers, we hope!) right away, and start new proposals.

Are you here to participate in a specific proposal? Click on the proposal tag (with the dark outline) to see only posts about that proposal and not all of the others that are in progress. Tags are at the bottom of each post.

Comments on How do I configure Cloudflare to redirect my alternate domain name with HTTPS support?

Post

How do I configure Cloudflare to redirect my alternate domain name with HTTPS support? Question

+1
−0

I have several alternate domain names that I would like to redirect to my site:

  • misspelling.example -> example.com
  • longer-domain-with-hyphens.example -> example.com
  • old-brand.example -> example.com

I've tried several redirect services and most don't support HTTPS. If I use them and visit https://misspelling.example/ I get either a security error because of a bad certificate, or they just don't connect at all.

I've heard that Cloudflare offers domain redirects that support HTTPS in their free service tier. Is that true? If so, how do I set it up?

History
Why does this post require attention from curators or moderators?
You might want to add some details to your flag.
Why should this post be closed?

1 comment thread

Cloudflare-specific problem (2 comments)
Cloudflare-specific problem
matthewsnyder‭ wrote over 1 year ago

TLS certificates have various fields concerning which domains they apply to. Not all of these are supported by all browsers. Some are obsolete/considered insecure, many client programs have shoddy implementations, and some you have to pay extra for when getting it verified by a CA (if using a paid CA).

Cloudflare essentially acts a MITM attacker on your visitor's TLS connection. They strip out your certificate and inject their own. This will almost certainly be something you need to do through Cloudflare.

Stephen Ostermiller‭ wrote over 1 year ago

In this case you don't even need your own security certificate on your origin server because Cloudflare can do the redirects without an origin server set up at all. I've written an answer with the steps required to set it up.