Domain mapping

I have a multisite install in a adddon folder... called my main domain on the cpanel is

I installed the domain mapping plugin on then I added a site to point to the server ip

Instead of jb40th resolving to it resolves to and does not keep the url It switched over to

Is there a way to make this work