Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Is there a way to do it without using SNI Mod Apache?

I tried many thing but no 1 them worked for me.

thanks in advance.

share|improve this question

2 Answers 2

Use different ports for each virtual host.

You simply cannot have two certs on a single address+port without SNI support.

share|improve this answer
    
default SSL port is 443, u mean that i should use another port to this second domain? i.e: 442 port? –  XirhaisMiss Feb 16 '12 at 18:40
    
I found serverfault.com/questions/110002/…, this guy seem fixed it. but i don't understand it. –  XirhaisMiss Feb 16 '12 at 18:43
    
Yes you can use a different port number. 442, would work, if it isn't used by anything else on your system. The guy in the other question had a unique IP per site. –  Zoredache Feb 16 '12 at 18:45
    
hum yes but it look like local IP , isn't? –  XirhaisMiss Feb 16 '12 at 18:56

Many SSL providers offer multi-domain SSL certificates, you may want to look in to these. These allow you to have a simple Apache configuration, but multiple sites on one HTTPS IP address. These are not ideal for sites requiring separation, but in this case an isolated server/VM may make more sense.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.