Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
WordPress: Using multisite domain mapping on a mediatemple grid server

This won’t get into setting up multisite in wordpress, but it will help you set up multisite domain mapping on a grid server from media temple. If you need to see a good intro article on setting up multisite mode in wordpress, check this article out or this article for a good multisite .htaccess intro.

First, install WordPress MU Domain Mapping plugin, and follow the instructions for setting that up.

Now, to add a new domain to media temple that will show up on your site, the big catch is to redirect this domain to the existing main domain.

For example, is the main root domain, and I am going to create

  1. Add the domains you’d like to use ( in this example) as alternate domains in the AccountCenter.
  2. Log into your (gs) via SSH, move into the domains directory and delete the folders for with these commands:
    cd domains rm -rf
  1. Create a symlink named ‘’ that points at the folder with this command:
    ln -s

This will now have pointing to, which thanks to the domain mapping plugin above, you will see the new site show up when you run it. I tried to make this sound as straight forward as I could, so I apologize if it ended up being more complex.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment