1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

virtualhost configuration for imbricated folders

Discussion in 'Apache' started by Toky RALALA, Nov 4, 2015.

  1. #1
    Hi guys,
    I'm facing that issue :

    • I have two domain names that point to one server: example.com and test.com
    • My folder structer is as follows: /var/www/example.com/test.com/
    How do I write the virtualhost confs to have :
    • example.com pointing to /var/www/example.com ?
    • and test.com pointing to /var/www/example.com/test/com ?
    I'm used to configure pretty simple and easy virtual hosts, and it's the first time I face that kind of situation

    Thanks a lot :)
    Toky RALALA, Nov 4, 2015 IP