Virtual hosts

Met virtual hosts kun je meerdere sites op één server draaien, elk met een eigen (sub)domein en documentroot.

Virtual hosts in Apache configureren

Demo video: inschakelen/activeren

Voorbeeld: vhosts includen

Virtual hosts includen
1 2 3 4
# In c:\xampp\apache\httpd.conf of apache2.conf # Include vhosts-config Include conf/extra/httpd-vhosts .conf

Navigatie

« Werking DNS systeem Apache configureren »