The MU forums have moved to WordPress.org

Need some help with domain mapping (10 posts)

  1. MAVIC
    Member
    Posted 16 years ago #

    I'm using WPMU 2.7 and the install is functioning fine with subdomains. I have the domain mapping plugin 0.4.1. I put sunrise.php into wp-content and domain_mapping.php into the mu-plugins directory. I set sunrise to on and uncommented the line in the wp-config.php file.

    Under Tools > Domain mapping, I have the IP address set. (It is the fixed IP that is specifically for this WPMU install.) I changed the Domain setting for the blog (Site Admin > Blogs) to be the domain of the site (same as listed under domain mapping.)

    At this point, the system is working fine except one thing: I can't log into the backend for that site. I quadruple checked my settings, but it still wouldn't let me login. I read another thread which said I had to list the mapped domain under Tools > Domain Mapping.

    So I did that. Now the site wont show up. If I again delete the entry from Tools > Domain Mapping, the site shows back up.

    Obviously this works for most people, so any ideas what I'm doing wrong?

    Thanks

  2. MAVIC
    Member
    Posted 16 years ago #

    I'm still trying to figure this one out. I've deactivated all other plugins, tried adding the domain mapping in different orders... still no go.

    Anyone?

  3. andrea_r
    Moderator
    Posted 16 years ago #

    Can you list the *exact* steps you did? And who are you trying to login as?
    Are you using the absolute latest version of the plugin (it was updated recently)?

    "I changed the Domain setting for the blog (Site Admin > Blogs) to be the domain of the site (same as listed under domain mapping.)"

    You don't DO anything from that menu for domain mapping.

    You may also have to park the domain in question to your MU install.

  4. MAVIC
    Member
    Posted 16 years ago #

    I've tried it a bunch of different ways, but here's one way and tell me if it was wrong:

    1. Installed WPMU and got it working with a fixed IP and wildcard DNS (*.sub.domain1.tld). New subdomains show up properly, the admin panels can be logged into...

    2. I put sunrise.php into wp-content and domain_mapping.php into the mu-plugins directory. I uncommented the line in the wp-config.php file to enable sunrise.

    3. Under Tools > Domain mapping, I set the IP address

    4. I configured a blog. It works fine as a subdomain. The address is domain2.tld.sub.domain1.tld.

    5. Under Tools > Domain mapping, I added domain2.tld. This is where it breaks. When I add this, the site (domain2.tld) doesn't load (well, it does, but it shows the site for sub.domain1.tld - the man WPMU install.)

    Are you using the absolute latest version of the plugin (it was updated recently)?

    Yes. 0.4.1. It was updated a couple weeks ago. I downloaded it again today just to double check, again.

    You don't DO anything from that menu for domain mapping.

    So from my experience this far, that's the only way I can get domain mapping to work.

    You may also have to park the domain in question to your MU install.

    "Park" has been used to mean so many different things over the years, I'll explain what I did and you tell me if that matches if what you mean by "park." I gave the domain an A record of the IP for the WPMU install. I know that is working because if I change the site URL under Site Admin > Blogs, and don't have it listed under Under Tools > Domain mapping, it loads and works.

    On a related note, maybe the problem I'm having is a known issue. The plugin info says "Remote login is not included in this release. A user can be logged in on the main site but not logged in on the domain mapped one, or may even be logged in as another user."

    In my mind I'm not doing any sort of remote login. I think of that as like connecting to an interface at a remote location - like SSH to a datacenter. So I thought that didn't apply to me, but maybe it does?

    Thanks!

  5. andrea_r
    Moderator
    Posted 16 years ago #

    This may be it:

    "and wildcard DNS (*.sub.domain1.tld). "
    "The address is domain2.tld.sub.domain1.tld."

    WPMU & probably the domain mapping assumes you have MU install at domain.com, and the blog are username.domain.com. I haven't tried mapping domain to an install on a subdomain with subdomain blogs (my head.. ow) so it may very well likely be it doesn't work.

    No, the remote login isn't it. That woudln't break your site, you'd just be unable to login.

    ""Park" has been used to mean so many different things over the years, I'll explain what I did and you tell me if that matches if what you mean by "park." I gave the domain an A record of the IP for the WPMU install. I know that is working because if I change the site URL under Site Admin > Blogs, and don't have it listed under Under Tools > Domain mapping, it loads and works."

    So.. if I went to this IP address, would I get your WPMU install? Yes or no?

    And really, by PARK, I mean login to your web control panel and go pick "park a domain" from the backend. that physically adds new information to the httpd.conf file for the web account. Sometimes it's a real b*tch to get going on some servers.

  6. MAVIC
    Member
    Posted 16 years ago #

    WPMU & probably the domain mapping assumes you have MU install at domain.com, and the blog are username.domain.com

    Ahhhh, I wish that was explained somewhere :( (or did I miss it?) I guess I'll have to buy another domain and try to move everything. *sigh*

    No, the remote login isn't it. That woudln't break your site, you'd just be unable to login.

    Yeah, that's the issue that occurs when I remove a domain in the list under domain mapping - I'm not allowed to log into the domain that I add to that list.

    So.. if I went to this IP address, would I get your WPMU install? Yes or no?

    Yes.

    And really, by PARK, I mean login to your web control panel and go pick "park a domain" from the backend. that physically adds new information to the httpd.conf file for the web account. Sometimes it's a real b*tch to get going on some servers.

    My web host removed "domain parking" probably five or six years ago, maybe more. Plus, not all of my hosts have a web panel to begin with. And just because I've noticed some confusion elsewhere, you might want to look up with "domain parking" means to most: http://en.wikipedia.org/wiki/Domain_parking

    Domain parking refers to the registration of an internet domain name without that domain being associated with any services such as e-mail or a website.

    By your definition, it would be associated with a web site. I'm not try to argue with you or start any sort of fight (that'd be really dumb of me as you're helping me out.) I'm just trying to clear up some confusion here and elsewhere.

  7. andrea_r
    Moderator
    Posted 16 years ago #

    I only use the term park as that's what most people see in the backend of their cpanel. And since for domain mapping, the mapped domain is used as such, it's still the correct term.

    Sometimes I say point, which is more accurate, but confuses the heck out of people, because their cpanel says "park". See? :)

    main domain = not parked
    add-on or mapped domain = parked or pointed

    In other words, no, I'm not confuses over the terminology, the popel who want to have mapped domains are because they normally have no idea what to call it or what to do.

    "Ahhhh, I wish that was explained somewhere :( (or did I miss it?) I guess I'll have to buy another domain and try to move everything. *sigh*"

    While it's not explicit stated anywhere, it is sort of alluded to and is discussed elsewhere in the forums for other issues, so yeah - you kinda missed it. :)

    For a new domain just try for yourdomainblogs.com. And it has to be the main account for the web account, not an add-on domain.

  8. MAVIC
    Member
    Posted 16 years ago #

    Thanks. Honestly, I've never used cpanel and I've never heard of "parked" used in the way you're using it.

    I'm not using WPMU for blogs so much as hosted WP sites where WP acts as a CMS. I've got a dozen or so now, each with their own domain. I actually don't have any plans of hosting any sites that don't have their own domain. That's why using a subdomain off of my main domain made sense.

  9. MarketingCentre
    Member
    Posted 16 years ago #

    Hi Mavic,

    I'm trying to use MU for the same purpose. Has it worked for you?

    Al

  10. wpmuguru
    Member
    Posted 16 years ago #

    Andrea_R described our setup a bit here: http://wpmututorials.com/ideas/mixing-mapped-domains-and-sites/

About this Topic