I am running several virtual hosts on a VPS running Apache 2.4.I registered a domain at my VPS provider OVH: 55eastmonroe.software.I want the subdomain www.55eastmonroe.software to point to the same site, so beside the A record (55eastmonroe.software), I created a CNAME record: www.55eastmonroe.softwareBut when I navigate to www.55eastmonroe.software, the server returns the default Apache page (defined in the 000-default.conf file).Here is my 002-wp_em.conf fileThanks for your help.
How does Apache resolves the requested virtual host?
apache httpd;apache virtualhost
Use the ServerAlias directive:<VirtualHost *:80>    ServerName 55eastmonroe.software    ServerAlias www.55eastmonroe.software    DocumentRoot /var/www/em_home</VirtualHost>See the docs about name based virtual hosts.