Have the domain mapping plugin installed network activated. I made a setup which the user enters their domain name when they create a site. I have a custom plugin that insert into the database, the info for domain mapping. I have a custom page for them with a list of their sites with a “Go Live” button. It sends an Ajax request and flips the flag in the database for the domain mapping to be set to true. However, even when the site is NOT live (domain mapping is not Active for that domain), it still directs me to the domain name.com and not the subomdina.mysite.com
So basically, my tables shows these are not “active” but they still forward to the domainname and dont use the subdomain.