Tuesday, November 19, 2013

Wordpress multisite with subdomains under PLESK 10.4

I have wordpress multisite (network of Wordpress) running in subdomain mode. The main site is abc.net and the sub-blog has its own domain name xyz.com. How to configure that under PLESK 10.4?
  1. Create a WP network with subdomains following the instructions.
  2. Creat a new subdomain called site1.abc.net. Note its ID. In my case, ID=2.
  3. Download and network enable the plugin Wordpress MU Domain Mapping.
  4. Use this plugin to map the subdomain ID=2 to xyz.com
  5. Enable the subdomain wildcards under PLESK (under abc.net, add a subdomain named *.abc.net, pointing to the same directory that hosts the WP network installation (in my case, /httpdocs). After this step, site1.abc.net is available.
  6. If you want the subplog to have its own DN rather than site1.abc.net, follow the steps below:
  7. Purchase a DN and point it to the DN server that manages the server hosting the WP network (and that has PLESK).
  8. Under PLESK, chose the webspace of the main domain (abc.net), chose "Website & Domains" and chose "Add New Domain Alias", enter xyz.net as an alias to abc.net.
  9. WP MU Domain Mapping Plugin takes care of the rest.

Now my subblog has its own domain name! Yippie!

No comments:

Post a Comment