wordpress mu directadmin

Install WordPress MU on Directadmin Server with Multiple Domains.

WordPress MU ( WordPress Multi-User, WPMU )

This tutorial note down that how I install the WordPress MU on Directadmin Server with Multiple Domains. I will put more print screen as much as possible for this tutorial.

Wordpress MU ( WordPress Multi-User, WPMU ) is built in into WordPress after version 3.0. So you no need to do separate download to install if you’ve installed the old version like before.
wordpress mu directadmin
WARNING: This tutorial is installing from and empty sites, please do not try this on working sites, if you want to try, please backup before change anything. I  will not be responsible or liable, directly or indirectly, for any damage or loss caused or alleged to be caused by or in connection with use of or reliance on any such content, goods or services available on or through any such site or resource.

Requirement:

  • Linux Server
  • Administrator (Root) Access to the server
  • Dedicated IP Address
  • DirectAdmin
  • Few domains name

[adrotate banner=”2″]

Installing WordPress on the primary server

[adrotate banner=”1″]

Set Wildcard for Primary Domain

This will make the name server accept all incoming subdomains for the primary domain.

Adding ServerAlias *.justin.my to httpd.conf
and add A *.justin.my to name server.
Create Wildcard Subdomains DirectAdmin

After setup this, you need to edit the wp-config.php file in home directory in the WordPress.
Open up wp-config.php and add this line above where it says /* That’s all, stop editing! Happy blogging. */:

wp config WP ALLOW MULTISITE

Login your WordPress from the admin page /wp-admin/

Disable all your Plugin before run the Create A Network.

Create a network

Create the network.

You have to modify the .htaccess and the wp-config.php again, make sure you do backup for the files before changing of them.

htaccess wp config

After that you can re-login to your WordPress and access to My Sites on top right of the menu.
Network Admin

Before you map in any domain, you have to change the vhost in DirectAdmin, make sure all those domain are pointing to your IP, and your IP’s DocumentRoot is your primary domain. Mean, when http://210.5.45.243/ it will point to http://justin.my/

So I’ve modify the file in
/etc/httpd/conf/extra/httpd-vhosts.conf
httpd vhosts

Any domain that you added to the DirectAdmin account, you must delete them before continue.

Then you can Park your domain to DirectAdmin by using this tutorial.

After that you can install the WordPress MU Domain Mapping.
and add your new sites.

Network Admin 8bn

Happy WordPress MU ! If you do not understand, please ask in here and I will update in this post.
Thank you.

Tags:

3 thoughts on “Install WordPress MU on Directadmin Server with Multiple Domains.”

  1. Hi, interesting stuff. I have a few sites on a VPS with DirectAdmin. These sites have existing content, one is a WP installation. I want to install WP where one install will handle the multiple sites, and realize that I’ll need multiple databases in WP to do. Know that I need to backup the content on the sites first. What I’m not sure of are the steps to go about transferring it all and getting it up and running. Want one site to be the hub, the nameserver, where the other sites point to. Tips or URLs to point to would be appreciated.

Leave a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.