Jump to content

Using non-wildcard SSL on site and media servers


Recommended Posts

Hello
 
Recently I've stumbled upon this idea - to use my ordinary single domain SSL on my site and add media server subdomains of it using letsencrypt.org SSLs.
 
I've tested in on my site and it's running well. All images are displaying after I added the rewrite URL settings for the new domain to the .htaccess file.
 
So the configuartion is as follows:
 
1. domain.com - pointing to homepage
2. SSL for domain.com and www.domain.com only
3. static1.domain.com - pointing to homepage too - so this way when new image or .js or .css if uploaded it will access it
4. added static 1.domain.com to homepage's .htaccess file under image category (just copy and paste the whole section and add your subdomain to the urls)
5. added static1.domain.com to the media server list.
6. cleared cache
7. voila - the site is still HTTPS with green icon, no errors other than this strange thing for a font that don't have permision to access but the site displays OK still. Orders are going in, etc.
 
 
Please can you test and submit your results!
 
 
 
Using non-wildcard SSL on site and media servers

Edited by the.rampage.rado (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...