The fix for magboxes using your imported xc database. first back it up and save it some where safe.
you need to edit the database xtream_iptvpro settings:
First the column: allowed_stb_types needs to have the value as ["MAG200","MAG245",MAG245D","MAG250","MAG254","MAG255","MAG256","MAG257","MAG260","MAG264","MAG265","MAG270","MAG274","MAG275","WR320","MAG322","MAG323","MAG324","MAG325","MAG424","MAG424w3"]
Second the column: stalker_lock_images needs to have the value as null otherwise the mag will return blocked.
That is the database sorted
magboxes should be using http://ipaddress

ort/c
Lastly go into your panel and select manage servers. make sure the ipaddress and domain name set in the main server are pointing correctly to the main server.