Apache virtual host with multiple domain name (cloudflare)
I have 2 domain name and have followed this tutorial https://www.digitalocean.com/community/tutorials/how-to-set-up-apache-virtual-hosts-on-ubuntu-18-04 to set up my both domain on 2 different Apache virtual host (one for each domain name)
The first domain works well and point on the good virtual host.
But the second domain keeps pointing on the first domain/virtual host (even after defining the two domain name in the host file as mentioned in the tutorial above)
The difference here is the cloudflare ; the 2 domains point on the same IP (for my droplet)
If anyone has an idea about this weird behaviour and would want to help…
Thank you in advance for reading and help
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×