I have several domains which refer to one and the same server. Now I want to create a Vhost for each domain. This already works for some domains, but not for all.
Example: I navigate to the domain "b.com" and get the website which should be displayed for "a.com". With "a.com", however, everything works. The request from "b.com" is also saved in the log from "a.com" and there it also indicates that I have navigated to "a.com".
The DNS management is at Cloudflare. Each domain has a TXT record with its domain name.
Can you help me?
I have minified my configurations to the minimum. So thats the 2 files.
<VirtualHost a.com:80> Servername a.com DocumentRoot /var/www/a.com </VirtualHost>
<VirtualHost b.com:80> Servername b.com DocumentRoot /var/www/b.com </VirtualHost>
Thank you in advance!