Domain mapping dns parameters server

Hello,

I migrated my multisite wordpress on a new server, I use the domain mapping plugin to redirect to network domains The server is set, a wildcard is created for sub domains on the server.

capture

A field of mainsite.com is the ip of the server (xxx.xxx.x.xx)

and the To field of network sites are also on the ip of the server (xxx.xxx.x.xx)

However, it redirects to the server page by default.

redirecting the domain mapping plugin works well because it return to the default server page when I get subsite.mainsite.com.

Questions :

– I have to have my main domain on the server? (This was my old configuration)

– Do I have to add another setting in the dns network site that I want to point?

Thanks for your help.

Alex