-2

Nothing insidious going on but I've got a bunch of domains that we've bought for a service and I don't want to buy an SSL certificate for them all (there's about 11).

As an example, we've got:

example.com thisisexample.com ourexample.com theexample.com 

I have an SSL certificate for example.com and it is the main domain we're going to use. To protect our IP we've bought up a lot of similar domains and we're redirecting them all to example.com.

I've setup some redirects already and they're working fine on HTTP/80, both www and non-www.

However, accessing any of the domains on HTTPS/443 shows the privacy error.

Is there any way around this without having to buy lots of certificates? Can I not redirect https for one domain to another and allow that to terminate SSL?

EDIT:

My question is relating to Nginx, not Apache2.

0

2 Answers 2

1

Is there any way around this without having to buy lots of certificates? Can I not redirect https for one domain to another and allow that to terminate SSL?

No.

Also, please search ServerFault and StackOverflow archives etc., this question was discussed multiple times in the past.

10
  • What an insightful answer. Commented Aug 15, 2017 at 12:17
  • 1
    I've added an link to your question (see the comments). One doesn't has to add the same answers over and over again, instead, you should do your homework and do some research, first. Commented Aug 15, 2017 at 12:18
  • Your answer was short and uninsightful. As far as my reading of the rules of the site goes, that is against the grain. I will accept my own answer in a couple of days. I can use LE to generate SSL's for my other domains and this avoids having to buy extra certificates. Commented Aug 15, 2017 at 12:27
  • I also had done research first. Other questions were looking like people were up to no good. Commented Aug 15, 2017 at 12:30
  • 1
    Ok. The answer was modified immediately, so there's no modify history of that. You are correct that there's no reason to be rude. We are here to help and guide. And... we cannot say who voted your answer down. However, I can repeal it with my vote. Commented Aug 15, 2017 at 13:08
0

Turns out I can avoid buying lots of SSL certificates via using LetsEncrypt for the domains I want to 301 redirect.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.