Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I read it here on linuxquestions ( I can post the link if you would like) and I have been unable to get it working. I can get more than one virtual name server or one SSL and only 1 unencrypted.
Did you say you have SSL and more than 1 virtual name server working? If you do, I would really like to pick your brain on how you did it.
I didn't have to do much... I simply set it up in /etc/apache2/conf/vhosts/vhost.conf and restarted Apache, and within that same conf I have 2 other domains setup, but only 1 of the 3 are using SSL.
SSL doesn't work with name based hosting, but you can host multiple non-SSL domains using name based hosting and one SSL domain together with the same Apache server. The rule of thumb is that you need one IP address per SSL domain -- beyond that, it doesn't matter. I'd be curious to know why this is exactly -- is it a limitation/security feature in the SSL protocol?
The rule of thumb is that you need one IP address per SSL domain
Here is why: http://www.modssl.org/docs/2.8/ssl_faq.html#ToC47
Actually, the problem is that you cannot use more then 1 SSL certificate on 1 IP address. That means that although you could set up name-based virtual hosts on 1 IP address with https, they would all share 1 SSL certificate (it works, I've been there).
And unless you do some very clever tricks when generating the certificate, the web-browsers would complain that the host name written in the cert does not match the address typed in the browser.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.