I have a project where I need the original URL for a multisite network to be network.example.com. This is because I have a wildcard SSL for example.com and want all logins and admin to use that domain as well as the site needs to be up and running and operational prior to the customer moving their domain to the network.
There will be sub-sites such as network.example.com/site1, network.example.com/site2, etc.
I need to map a domain to the network, so that the primary site and all sub-sites use the mapped domain for the front end of the website. For example...
domain.com > network.example.com
domain.com/site1 > network.example.com/site1
domain.com/site2 > network.example.com/site2
I am not having any luck finding a solution to this so far. At this point I think I am going to be writing my own plugin and sunrise.php to make it happen. But I wanted to put this out there and see if anyone has any other suggestions before I go that route.
Thanks!