domain2.com redirects to domain1.com in Apache
- by Dmitry Mikhaylov
I created new virtual host, but when I try to request it, Apache redirects me to another virtual host. What could cause this problem?
<VirtualHost XXX.XXX.XXX.XXX:80 >
ServerName domain1.com
AddDefaultCharset utf-8
CustomLog /var/www/httpd-logs/domain1.com.access.log combined
DocumentRoot /home/user/www/domain1.com
…