Hi,
I have a server on an IP address, say 1.2.3.4 - I have the following in httpd.conf:
NameVirtualHost 1.2.3.4:80
<VirtualHost 1.2.3.4:80>
DocumentRoot /var/ServerName </VirtualHost>
<VirtualHost 1.2.3.4:80>
DocumentRoot "/var/ServerName </VirtualHost>
<VirtualHost 1.2.3.4:80>
DocumentRoot "/var/ServerName dev.domain3.com
</VirtualHost>
I want to make it so that gets pages from a separate (SSL secured) folder.
ssl.conf has a virtual host _default_:443 - if I change this to dev.domain3.com:443 and add change the relevant details, then all the vhosts return blank pages on port 80, and all have the desired outcome for https. (Except that I only wanted to work, yet https:// any of my domains takes me to the same, SSL secured, page.
Where am I going wrong, it's driving me insane!
Thanks for your help.
I have a server on an IP address, say 1.2.3.4 - I have the following in httpd.conf:
NameVirtualHost 1.2.3.4:80
<VirtualHost 1.2.3.4:80>
DocumentRoot /var/ServerName </VirtualHost>
<VirtualHost 1.2.3.4:80>
DocumentRoot "/var/ServerName </VirtualHost>
<VirtualHost 1.2.3.4:80>
DocumentRoot "/var/ServerName dev.domain3.com
</VirtualHost>
I want to make it so that gets pages from a separate (SSL secured) folder.
ssl.conf has a virtual host _default_:443 - if I change this to dev.domain3.com:443 and add change the relevant details, then all the vhosts return blank pages on port 80, and all have the desired outcome for https. (Except that I only wanted to work, yet https:// any of my domains takes me to the same, SSL secured, page.
Where am I going wrong, it's driving me insane!
Thanks for your help.