Should I care that the "server certificate does NOT include an ID which matches the server name"?

Solution 1:

In general the warning "server certificate does NOT include an ID which matches the server name" is a warning (not a fatal error) addressed at the system administrator that they most likely made a configuration error indicating that the wrong TLS server certificate has been set, or at least that Apache httpd can't match the ServerName to the common name or any of subjectAlternateName in the certificate.

In your case simply switching the ServerName and ServerAlias directives will get rid of the startup error.

<VirtualHost 1.2.3.4:443>
    ServerName www.example.com
    ServerAlias example.com

But you might want to get an actual certificate for example.com if it is not included as an Subject Alternate Name entry on the www.example.com certificate.