Multiple CMS on the same IP server - Apache virtual host

Discussion in 'Apache' started by almog009, Oct 27, 2012.

  1. #1
    Hello Everyone,
    I'm Trying to set multiple www directories on the same server(debian) to enable
    multiple CMSs on the same VPS/Dedicated Server- wordpress + Joomla.

    it's not really working perfect, this is my internal test server config:

    # My Virtual Hosts Config File for two Domains
    NameVirtualHost *:80

    <VirtualHost *:80>
    DocumentRoot "/var/www/joom"
    ServerName www.joom.com
    ServerAlias joom.com

    </VirtualHost>

    <VirtualHost *:80>
    DocumentRoot "/var/www/wordpress"
    ServerName www.wop.com
    ServerAlias wop.com


    </VirtualHost>

    Anyone has experience with that config ?
     
    almog009, Oct 27, 2012 IP