Installing WordPress MU on a CPanel/WHM Server
Installing WordPress MU on
a CPanel/WHM Server
After WordPress MU is installed, fair enough, but configuration for your subdomains will NOT
work! You can go ahead and create the blogs, but you WON’T
be able to access your blogs using the subdomains like iranoff
http://firstblog..com
So, next, you need to configure your server!
For those who do not have reseller accounts, you might
just need to ring your server admin up to get this part done
for you. For those with reseller accounts, you still need to
contact your server admin. The only time you do not need to
contact your server admin is when you have the rights to
access your server’s httpd.conf file.
Well. I didn’t. That’s why I was stuck~!
Configure your wildcard DNS and sub domains
(sounds geeky)
Anyway, here’s what you need to do.
Log in to your WHM account. On the left, find and click
“Edit DNS Zone”.

Your accounts appear on the right. Select the domain (
iranoff.com ) you
use for your WPMU installation, and click “Edit”
You will see a bunch of text boxes and a bunch of
numbers!
Whoa! What is this? To be frank, I don’t know much
either, but what I know is that messing with these number is
no fun (because I’ve messed up with them before, and caused
some trouble for the server admin :mrgreen:)… but I know
what to do now.
You will see something like this. (erm.. minus the red
arrows. Those are my drawings. Nice? :))

Create a new entry after “Add New Entries Below this
Line”.
You should specify * for domain, 14400for TTL (default value),
A for record
type, and your server IP address. To find out what IP you
should type, refer to the record with your domain above. (
my IP is 208.89.218.144 )
Click save.
Go ahead and retrieve the same page again (i.e. Edit DNS
Zone -> Select Your Account). You should see the new entry
there.

If that is the case, you are done with WHM.
BUT you are not totally done yet!
I promise this is the
last part!
You need to add something to your httpd.conf
file.
I personally do not have the opportunity to do so, so I
had to mail my friendly server admin to do it.
Here is what you need to add:
<VirtualHost {SERVER_IP_ADDRESS}>
DocumentRoot /home/{CPANEL_USERNAME}/public_html
BytesLog domlogs/{YOUR_DOMAIN}-bytes_log
User {CPANEL_USERNAME}
Group {CPANEL_USERNAME}
ServerAlias {YOUR_DOMAIN} *.{YOUR_DOMAIN}
ServerName www.{YOUR_DOMAIN}
CustomLog domlogs/{YOUR_DOMAIN} combined
</VirtualHost>
Where:
- {SERVER_IP_ADDRESS} is your server IP address
- {CPANEL_USERNAME} is your CPanel username. Normally
this should be eight characters or less. This is the
username you use to log into your CPanel console for
your account - {YOUR_DOMAIN} refers to your domain, e.g.
bloggingiscool.com
So, giving an example, where my IP is 208.89.218.144, CPanel username is
iranoffand domain is iranoff.com, the
code is like this:
<VirtualHost 208.89.218.144>iranoff
DocumentRoot /home//public_htmliranoff.com
BytesLog domlogs/-bytes_logiranoff
User iranoff
Group iranoff
ServerAlias .com *.iranoff.comiranoff
ServerName www..comiranoff
CustomLog domlogs/.com combined
</VirtualHost>
Again, you (or your server admin) need to add this to
your httpd.conf file.
Then you are really finally done!
So.. installing WordPress MU is not as easy as the walk
in the park right? At least not for me! But just imagine
what you could do when you know you can create blogs on the
fly, on your own domain!
Give me more time to fiddle with WPMU, and I’ll tell you
more.
Oh… If anyone with access to a httpd.conf
could provide details on the part to add the record, then it’ll be wonderful!
VirtualHost