C://xampp/apache/conf/extra/httpd-vhost.conf içerisinde bu şekilde host oluşturabilirsiniz. DocumentRoot kısmında sitenin bulunacağı klasörü gireceksiniz, ardından hosts dosyasını düzenleyip kaydettikten sonra sunucuyu başlatırsanız 2 adet domain üzerinde çalışabilirsiniz.
DocumentRoot "C:xampphtdocshost1"
ServerName host1.co
DocumentRoot "C:xampphtdocshost2"
ServerName host2.co
Çok teşekkür ediyorum.
Hepinize zaman ayırıp, yardımcı olduğunuz için teşekkürler.