Hello, I am really having trouble getting a virtualhost to work for an SSL certificate.. my browser just will not load the page and I don't know what I'm doing wrong - could someone please help me? I have tried several different articles on how to setup a virtualhost and none of them seem to work. My ssl.conf http://pastebin.com/5npepGfv *Note: I did purchase an SSL certificate - it is not self signed Any help is appreciated, Drumrocker365
I see that you edited the /etc/httpd/conf.d/ssl.conf file - I would recommend that you restore the original file if that is the case. The easiest way to add a virtualhost (CentOS) is to create a config file in: /etc/httpd/conf.d/websitename.com.conf that will contain your settings. Here's a template that you could use for the SSL part: http://pastebin.com/nJFsSpX4 And a full example config: http://pastebin.com/r0J9gW56
It's just not working.. I tried creating a totally new file but the page load.. I just don't know what to do
Did you restored /etc/httpd/conf.d/ssl.conf to it's original state ? Also did you changed all of the variables/paths on the example config file ?
try running: yum remove mod_ssl -y (this will remove mod_ssl) and then: rm /etc/httpd/conf.d/ssl.conf after that install mod_ssl again: yum install mod_ssl -y
it worked but still nothing.. when I try to visit https://www.mineprowebhost.com Code (markup): it just loads and loads forever but http://mineprowebhost.com loads just fine but it isn't secured..
Chain INPUT (policy ACCEPT) target prot opt source destination Chain FORWARD (policy ACCEPT) target prot opt source destination Chain OUTPUT (policy ACCEPT) target prot opt source destination [root@drummerzcraft ~]# Code (markup): Uh.. that's what I got.. what does that mean?
for some reason when I go to https://(my server IP here) Code (markup): my website comes up and it's secured - it just will not work with the virtualhost and the domain