Баянистый вопрос, но в поиске не нашёл ответа.
На VPS стоит Debian 6 и apache2. Есть некий домен example.com, для него есть конфиг:
<VirtualHost *:80> DocumentRoot /var/www/default ... </VirtualHost>
Добавил конфиг для поддомена:
<VirtualHost test.example.com:80> DocumentRoot /var/www/test ... </VirtualHost>
В итоге по любым запросам открываются файлы из /var/www/test. ЧЯДНТ? Нужно запросы к существующим поддоменам «отправлять» им, остальные отправлять на домен второго уровня. Помогите с конфигом.