Subdomains Not recognized on Multisite

I switched from subdirectories to subdomains and when I create a new site and try to visit the site or go to the dashboard for the new site I get an error that says server not found. I am stumped at what could be wrong. I am trying to set up my multisite so that I can move my single wordpress sites into one instance of wordpress as well as make it available for clients to create their own sites. I am also using the domain mapping and pro-sites plugins.