Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

using google to search for answers to how to setup a cpanel"based" domain to use with WordPress 3 Multisite using subdomains (subdomain1.domain.com, subdomain2.domain.com etc.)

answer: "just go to subdomains in Cpanel, use * and point it to public_html"....

that works, but (and here's the question):

now the good old webmail.domainname.com, cpanel.domainname.com, whm.domainname.com etc. doesn't work anymore

So, question: how to do it 100% properly, so all normal functionality remains and still enable the subdomain possibility with WP Multisite ?

share|improve this question
3  
You have the most unfortunate random Gravatar ever. –  Annika Backstrom Sep 23 '10 at 12:57
1  
I think he should flag it as a bug. –  Wadih M. Sep 23 '10 at 14:07
    
Brilliant LOL! Hacking the random Gravatar, must be a new trend –  edelwater Nov 25 '10 at 21:42
add comment

2 Answers

When you're adding the wildcard subdomain, you need to make sure it is registered last in your ANAME records. Then make sure all of the static subdomains (webmail.domainname.com, cpanel.domainname.com, etc) appear before it.

When using wildcard subdomains, the server starts at the top of the list and works its way down. If all you have listed is your * subdomain, that will override the server's defaults (I'm assuming your static subdomains weren't explicitly set up before). So you need to list the static ones first or you'll lose them.

share|improve this answer
    
I have listed the webmail, cpanel, whm. etc. as A -records . The * wildcard is listed last (seeing through WHM->edit DNS Zone) –  solsikkehaven Sep 24 '10 at 8:12
add comment

you'll need to install the domain mapping plugin: http://ottopress.com/2010/wordpress-3-0-multisite-domain-mapping-tutorial/

also, check that the CNAME record exists (ask hosting support)

share|improve this answer
    
I have listed the webmail, cpanel, whm. etc. as A -records . The * wildcard is listed last (seeing through WHM->edit DNS Zone) –  solsikkehaven Sep 24 '10 at 8:13
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.