2👍
✅
You have two configuration files, but no way of distinguishing between them. Apache will simply match everything against the original one, since it’s first alphabetically, and never get to the new one – hence why it is looking in /var/www, since that’s evidently the DocumentRoot set in 001-default.
Do you actually need this to be in a separate file? There’s no reason you couldn’t add this configuration inside 001-default. Otherwise, you will need to have them on separate ports, or use a ServerName directive to distinguish them.
Source:stackexchange.com