I have a centos server, but I am having some issue regarding port 443 and ssl. my problem is that all domain on my server are accessible from HTTPS port.
like when I visit a domain on my server from HTTPS, which do not have ssl, then it shows default host page (default apache page)
I want only domain which I specified should only use ssl port.
I have certificate for a domain, and I have added virtual host like this:
<VirtualHost *:80 *:443>
..
..
ServerName domain.com
ServerAlias www.domain.com
ErrorLog ...
CustomLog ...
</VirtualHost>
and other certificate file locations are specified in /etc/httpd/conf.d/ss.conf
I also tried creating 2 separate with port 80 and 443, but still it does not help in my case. still if i visit other domain with HTTPS, i see default Apache page.
Thanks for help