1

I can't figure out why I can't connect to my VPS.

httpd.conf: i added:

Listen 80
listen 443

NameVirtualHost *:80
NameVirtualHost *:443

 <VirtualHost *:80>
    SSLEngine off
    ServerAdmin webmaster@example.com
    DocumentRoot somepath
    ServerName somedomain
    ErrorLog something
    CustomLog something common
 </VirtualHost>

 <VirtualHost *:443>
    ServerAdmin webmaster@example.com
    DocumentRoot somepath
    ServerName somedomain
    ErrorLog something
    CustomLog something common

    SSLEngine on
    SSLProtocol -all +SSLv2
    SSLCipherSuite SSLv2:+HIGH:+MEDIUM:+LOW:+EXP
    SSLCertificateFile something
    SSLCertificateKeyFile something
    SSLCertificateChainFile something
    SSLCertificateChainFile something
 </VirtualHost>

mod_ssl is installed

There seem to be no syntax errors:

/usr/sbin/httpd -t
Syntax OK

The DocumentRoot path is right, because it worked when I just used port 80/ had not added anything to try to make port 443 work.

Yet it's not working (neither with http:// nor https://) ... Did I overlook something?

Waterlilly
  • 11
  • 1
  • 2

0 Answers0