Jason
Expert
Friendly Neighbour
Member Likes (0)
Hi,
If I setup a WPMU using subdomains method, would i still be able to create subdomains via server?
e.g., I want to run a WPMU but also be able to set a subdomain e.g. XXXXXX.mysite.com manually to be able to use for another service.

Responses (9)
Support Kangaroo (joined March 2011) Likes (0)
Greetings Jason,
Thank you for this great question and you have the resident server expert on this ticket :-)
Most will tell you no that it cannot be done, and for the most part it cannot.
However, it can be done if you can get the sub domain higher in the httpd.conf or vhosts.conf before it hits the *.domain.com
Then it will work. However, if it hits the *.domain.com beforehand it will want to make another MultiSite in your original domain.
Cheers, Joe
Member (joined April 2011) Likes (0)
oh wow. Thanks Joe.
hmmm, Do you have link where I can see more about that. i.e. "Getting the subdomain higher in the httpd.conf or vhosts.conf."
Thanks
Jason
Support Kangaroo (joined March 2011) Likes (0)
Greetings Jason,
Thank you for this great question.
There is no documentation for doing this, I came up with this solution myself being that my profession for the last 14 years is Global Network Administrator/Global Server Administrator for two companies on both sides of the big pond.
It does indeed work but you must have root access to the server and go to those files putting the sub domain higher in the httpd.conf or vhosts.conf before it hits the *.domain.com and then restart Apache.
Home grown brilliance therefore there are no manual or documents about doing this I am afraid.
Cheers, Joe
Member (joined April 2011) Likes (0)
When you say root access you mean going to cpanel of the domain i have set up for the wordpress? I am thinking you possible mean something else.
I am using hostgator's reseller program which allows me to set up several separate cpanel accounts.
One of the domains is on one of the cpanel and is network enable (WPMU). Where exactly would i go to edit those files?
Can you suggest?
Support Chimp (joined March 2010) Likes (0)
root access is used to control a whole server. I'm not sure you will have that with a reseller account, you will need to chat with your host.
Your host should also help you create a wild card for your domain, that will mean everything.domain.com will go to your domain.com.
If you have cPanel with advanced DNS you should also be able to do it in there.
Screenshot is attached so you can see how I did it.
Take care.
Support Chimp (joined March 2010) Likes (0)
Just to add, you should also be able to create physical sub domains within cPanel as well.
Thanks.
Member (joined April 2011) Likes (0)
thanks. i was able to do it without too much hassle
Support Chimp (joined March 2010) Likes (0)
Excellent.
Was it through just adding them in cPanel as I mentioned or did you go the whole DNS route?
Take care.
Member (joined April 2011) Likes (0)
thru the cpanel... what i needed to so, i just created a CNAME. it works and did not conflict... happy with that
Become a member