Page is a not externally linkable
- Code, Content, and Presentation
-- Apache Web Server
---- Two Sites On One Apache Server


topr8 - 6:43 pm on Sep 12, 2012 (gmt 0)


i'd do it like this:

<VirtualHost *:80>
DocumentRoot "/opt/bitnami/apache2/htdocs/app/webroot/"
ServerName example.com
ServerAlias www.example.com
</VirtualHost>

<VirtualHost *:80>
DocumentRoot "/opt/bitnami/apache2/htdocs/dev/webroot/"
ServerName test.example.com
</VirtualHost>


Thread source:: http://www.webmasterworld.com/apache/4494366.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com