WordPress domain mapping on a multisite installation

  • | 573 points

    Creating a multisite works flawless. However I'd like to use domain mapping on my subdomain based installation. I use the preferred plugin to do that and set the IP address in that to localhost. But whatever I try I always end up in the webroot listing my site folders. What would I need in order to get this going?

  • | 573 points

    • Change the url of the subsite to the required domain (mapping is native since WordPress 4.5)
    • Edit the Apache .conf for the site in question using Laragon's menu: Apache > sites-enabled>
    • Add the mapped domains as ServerAlias - save the file
    • Restart Apache

    I needed this as well and just figured it out ;-)

  • | 80 points

    Watch the video

Log in to reply

Looks like your connection to Laragon was lost, please wait while we try to reconnect.