Changing A record and CNAME records

Solution 1:

As mentioned in the comments, you will need to use A records instead of CNAME records. CNAME records will not be able to point at an IP Address.

The key to making each of the sites to work is to specify ServerName correctly for each virtual server in your Apache config.

Solution 2:

Use A record to point to the sub domains  A   300  A   300  A   300  A   300  CNAME   300