I'm working on a CentOS box that has a main site and several test sites setup as sub-domains.
The main site has an SSL and is setup on an IP by itself. The sub-domains are setup as virtual hosts.
All is working well.
The server is a managed server and we recently upgraded to a wild card SSL so we can test the shopping cart on the test sites using an SSl to catch any problems before we move the code to the live server.
Up to this point I have been able to add new virtual hosts at will. Basically all I have to do is copy one of the virtual server definitions and change a few things like doc root and I'm off and running. Of course a DNS addition needs to occurs also.
I assume to take advantage of the SSL each virtual server will need to be on the same IP as the main site.
The only virtual servers we have are sub-domains to the main site.
Here is my problem. When I put the IP of the main site in the viral server like this
<VirtualHost 000.000.000.000:80>
ServerAdmin name@server.tld
DocumentRoot /home/docroot/public_html
ServerName docroot.domain.tld
ErrorLog /home/docroot/logs/error_log-docroot
CustomLog /home/docroot/logs/combined_log-docroot combined
Include "conf.d/notrace.conf"
</VirtualHost>
The main site will not load in my browser. I do not recall the exact message - something like "you do not have directory access permission" or something like that.
Any advise is much appreciated.
Keith
------------------------
---------------------------------------------------
PLUG-discuss mailing list -
PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss