yes I did. I ran service apache24 resart. Would this be a port forwarding issue? I'm forwarding port 80 and port 443 traffic in my router to the ip of my apache instance
I don't think so, I'm getting a "Connection refused":
curl: (7) Failed to connect to calvinundergroundpoker.com port 443: Connection refused
This usually means the packets are getting through to the server, but there isn't any service listening on port 443.
Did you, besides the VirtualHost, also add a Listen 443 in your Apache configuration? Without it, it won't listen on port 443, even if you add a port 443 VirtualHost.
I added Listen 443 below the Listen 80 line and ServerName calvinundergroundpoker.com:443 below the line with ServerName calvinundergroundpoker.com:80 in httpd.conf and restarted and no luck. httpd-ssl.conf is also listening on port 443
It seems that your httpd-vhosts.conf file isn't being used.
Please show the output of: grep -Ei 'include|servername|listen|config|ssl|virtual|root' /etc/httpd/httpd.conf
[if file not found in /etc/httpd/, then replace that with your actual file location]
If you don't know exactly where that file is, try: find / -name httpd.conf
The file is in a different directory than you specified so I modified it and ran grep -Ei 'grep -Ei 'include|servername|listen|config|ssl|virtual|root' /usr/local/etc/apache24/httpd.conf >> file.txt and got this output:
I uncommented the line with #Include blablah httpd.vhosts.conf, restarted apache, and got this error: root@poker service apache24 restart Performing sanity check on apache24 configuration: Syntax OK Stopping apache24. Waiting for PIDS: 71338. Performing sanity check on apache24 configuration: Syntax OK Starting apache24. /usr/local/etc/rc.d/apache24: WARNING: failed to start apache24 root@poker apache24 #
Is there anything else I need to uncomment out to get this to work?