Welcome to WebmasterWorld Guest from

Forum Moderators: Ocean10000 & phranque

Message Too Old, No Replies

SSL certificate question for apache server with two subdomains.

11:49 am on Feb 27, 2018 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month

joined:Dec 19, 2004
votes: 14

Hi I have a single ip apache server and I'm setting up two subdomains test.example.com and www.example.com.

I intend to test my new site software on test.example.com and then in a few days rename my test to www site ie www.example.com.

My question is, to test the software with ssl can I buy two different ssl certs for each subdomain and then use only one for www.example.com ? I don't want to spend dough on wildcard domain as I'd would be deleting test.example.com in a week or so maybe less.

Please advise. Thanks!
11:58 am on Feb 27, 2018 (gmt 0)

Full Member

Top Contributors Of The Month

joined:Apr 20, 2017
votes: 73

Depending of your need, it's not mandatory to "buy" a certificate. You can get one free, for example at Let's encrypt (excepting if you need specific features).

If your test sub domain is only for you, you can use the www cert. You'll get a warning in your browser, but you can tell the browser to ignore the error.

You can also create a free certificate at Let's encrypt for the purpose of your test, (or self signed certificate, which will cause a warning in the browser, but which can be ignored too).
11:25 am on Feb 28, 2018 (gmt 0)

Senior Member from US 

WebmasterWorld Senior Member keyplyr is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Sept 26, 2001
votes: 893

Lets Encrypt [letsencrypt.org]

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members