Problem with domain mapping plugin

I installed the Domain Mapping plugin properly and checked for a demo with a demo site on the network.

The plugin is not working, i set up cname records for for but opening the site redirects to the 404 page of the hosting provider ,i.e; hostgator.