Set-up different domains for shops on WordPress MultiSite
Different domains can be assigned for your shops within MultiSite Network, this is a feature supported by plugin and does not require additional code extensions to implement. The set-up is straightforward and require a basic web management knowledge.
There are few steps required to make the preparations and actual domain assignment for a shop on your network:
A domain is required. If not own this can be purchased through multiple registrar sites. A domain can be anything and can use any available extension.
Domain DNS Set-up
A Domain Name System (DNS) is required to be set. This is a way to make virtual link for domain to actual data storage. Generally a basic DNS management is available at the domain registrar. You should use the DNS details you received from your hosting provider.
A DNS update / change can take up to 24 hours to become available to all internet networks. You should wait before the domain become available through your browser before continue.
Add domain to your host
The domain need to be registered with your host. Presuming the management interface is a cPanel (which is pretty mush used by everyone) the Addon Domains area should be used. As Document Root the exact path of current WordPress MultiSite instance must be provided. This is the same path as the main domain through which the Network can be accessed. Using the same path ensure that accessing the new domain it goes to the same WordPress instance.
Assign the domain to a shop
Within the WordPress MultiSite Dahsboard, at Sites a new site is required to be created. This can be set as subdomain / subdirectory (depending on Network configuration) or a custom domain. If there's already other sites created which will be used with different domains, the above can be skipped.
Once created, access site Edit (within All Sites interface) and update the Site Address (URL) field with the new domain and Save Changes. Also the Public attribute of the site need to be active for the core, to include the site in the process.
Giving it a try
The configuration is completed, the new shop should be available to be accessed through the new domain. Depending on the browser, a cookie and cache data clear might be required, also a browser restart to ensure new cookies will be used.
The new shop with different domain is ready to use all features of plugin.
Important, that all domains need to point to the same Nameserver / Hosting account where the WordPress MultiSite instance is deployed.