• Resolved jnholt3

    (@jnholt3)


    I’m quite confused and my webhost is also confused. Here’s my situation:

    I’m going to call my primary WPMU domain aaa.com. My first mapped domain I’ll call bbb.com. When I add new sites, by default they are all a subdomain of aaa.com.

    1) Is it possible to change the default domain for the creation of new sites to say bbb.com or ccc.com, etc.?

    2) Whether or not that is possible, if a new site is 1.aaa.com and I want to map it to 1.bbb.com, I’ve read that I need to create a subdomain and crate a CNAME to make that happen. The questions I have are 1) am I creating subdomains in CPanel for both 1.aaa.com and 1.bbb.com, or just one or the other; 2) Which DNS zone should I be adding the CNAME to; 3) If I need to change the CNAME for 1.aaa.com to point to 1.bbb.com, is there anything that needs to be changed to 1.bbb.com?

    Thanks very much for your time,

    James

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Ron Rennick

    (@wpmuguru)

    1) Is it possible to change the default domain for the creation of new sites to say bbb.com or ccc.com, etc.?

    No. You could potentially write a plugin to do it but that’s not built into WP. The domain mapping won’t help you accomplish that.

    If you wanted subsites of bbb.com why didn’t you install there? (Just curious since it’s what I would do.)

    What you’re really looking for is a multi network plugin.

    1) am I creating subdomains in CPanel for both 1.aaa.com and 1.bbb.com, or just one or the other;

    you’ve already got 1.aaa.com because the main install uses wildcard subdomains.

    Really, for something this complicated you should be on a vps with access to apache so you can wildcard the whole thing and not mess around with adding subdomans in cpanel for each one.

    Everything points to the main install. you don’t direct one subdomain to the other.

    Thread Starter jnholt3

    (@jnholt3)

    Thanks for the reply, Ron. The reason I didn’t I didn’t install at bbb.com was because I wanted bbb.com (just bbb.com, no bbb.com subdomains) to be a clone/duplicate of aaa.com. I found a nice plugin from the WPMUdev.org guys that allows very easy duplication.

    But my problem is all of the bbb.com subdomains are going to be a completely different type of site than is the tld. Hence, my issue.

    Thanks again.

    Thread Starter jnholt3

    (@jnholt3)

    I figured it out using Cpanel and WHM. Here are the steps for anyone that wants to try it.

    1) Create a subdomain in Cpanel for whichever subdomain is being used by WPMU, for example if your new site in WPMU is 1.aaa.com, create that exact subdomain in cpanel.

    2) Redirect/Point (while using the subdomain creation function) that newly created subdomain to the whichever alternate subdomain you desire, for this example, 1.bbb.com.

    3) Park 1.bbb.com (do not create the subdomain in the subdomain function of cpanel), park only.

    4) Create a CNAME record for 1.aaa.com and also point it to 1.bbb.com. (If 1.aaa.com has an “A” record, delete it.)

    That’s it!

    Cheers!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Subdomain Mapping Questions’ is closed to new replies.