WordPress.org

Ready to get started?Download WordPress

Forums

Domain Mapping and WordPress MU (39 posts)

  1. skibybadoowap
    Member
    Posted 2 years ago #

    I have a bunch of domains that I am looking to map together using WordPress MU. I have gone through the installation process for MU and can see a "my sites" and admin tab. Currently, when I try to go to "Domain Mapping: Domains" and add any of my other domains, nothing happens. No warming, nothing. I've set up my names servers to be the same as my main MU website and I'm pretty sure I correctly set up the A Name. I'm using netfirms and (Host: MYDomain.com is pointing to the correct IP. And A is pointing to the correct IP. mx is not, should it be?)

    Although it may be related, if I put the domain_mapping.php file in mu-plugins, the entire website goes "white" and I have to remove or rename the file in my ftp to have any access to my website.

    Any help would be appreciated!

  2. If you're using this: http://wordpress.org/extend/plugins/wordpress-mu-domain-mapping

    Make sure to grab version 0.5.4.2

  3. skibybadoowap
    Member
    Posted 2 years ago #

    Yup, I'm using the plugin ipstenu suggested. What should I see in the "Domains" tab?

    Right now I see this:

    Domain Mapping: Domains
    Search Domains
    Domain:

    New Domain
    Site ID
    Domain
    Primary

    And plugging in the domains I want to link into any of the fields doesn't do anything. Once I plugged in another domain and it went to another page that said "Are you sure you want to do this" but there wasn't any follow up button, and when I refreshed the page, nothing seemed to happen.

  4. George Appiah
    Member
    Posted 2 years ago #

    What should I see in the "Domains" tab?

    This is what it should look like: http://i43.tinypic.com/2hs24c1.png

  5. skibybadoowap - Are you using the right VERSION of teh plugin? This is important ;)

  6. skibybadoowap
    Member
    Posted 2 years ago #

    Ipstenu, the "read me" file has this information:

    === WordPress MU Domain Mapping ===
    Contributors: donncha, wpmuguru, automattic
    Tags: wordpressmu, domain-mapping, multisite
    Tested up to: 3.3
    Stable tag: 0.5.4.2
    Requires at least: 2.9.2

    It was downloaded through wordpress yesterday.

    If I have the right version, are there any other items that would provide these issues? Is there something I'm missing?

  7. skibybadoowap
    Member
    Posted 2 years ago #

    Thanks George, mine looks like that, although it doesn't have any websites under the "save" button. That space is blank.

    Is putting domain_mapping.php into the mu-plugins required? As stated before, when I do that the entire website turns "blank", including the admin and I have to go into the ftp to manually rename the directory for everything to work again.

  8. Thanks George, mine looks like that, although it doesn't have any websites under the "save" button. That space is blank.

    Likely becuase you haven't mapped anything ;)

    Is putting domain_mapping.php into the mu-plugins required?

    No, just use Network Activate if you keep the plugin in /plugins/.

  9. skibybadoowap
    Member
    Posted 2 years ago #

    Perhaps it's something to do with the DNS? Here is now I have my DNS setup: OtherIP is an ip that the register originally placed. MainIP is the same IP as the website with the MU admin. My Name servers are all pointing to the same host.

    MYDOMAIN.com - MainIP
    A - MainIP
    mx - OtherIP
    mx - OtherIP
    mx - OtherIP
    mail - OtherIP
    pop - OtherIP
    imap - OtherIP
    * - OtherIP
    smtp - OtherIP
    ftp - OtherIP
    popmail - OtherIP
    email - OtherIP
    webmail - OtherIP

    Does all of this look right?

  10. skibybadoowap
    Member
    Posted 2 years ago #

    Update:
    Apparently I have been foolish and didn't insert a Site ID for each new website. I've done that now, and I have mapped all my websites, but they are not showing up in the "Sites" tab. I assume the DNS takes a while to change over? Is there anything else I need to setup?

  11. George Appiah
    Member
    Posted 2 years ago #

    DNS *shouldn't* have anything to do with that (ie mapped domain names appearing under "Sites"). If there's problem with your DNS setup, the pages simply wont load, but the proper info should appear in WordPress.

    Note that you can also do the domain mapping from the individual sites / blogs, rather than the network dashboard. Try that and see if it makes any difference (Tools => Domain Mapping)

  12. DNS can take up to 72 hours, depending on what you set your TTL to.

    That said, they should show up right away in Sites...

  13. skibybadoowap
    Member
    Posted 2 years ago #

    I have a dozen domains each with different site IDs on the "Domain Mapping: Domains" but none of them are showing up on sites. Is this a DNS problem, or an install problem?

  14. skibybadoowap
    Member
    Posted 2 years ago #

    Under the "sites" tab, when I click on new site, I get this option:

    Add New Site
    Site Address .MYDOMAIN.com

    Only the characters a-z and 0-9 recommended.
    Site Title
    Admin Email
    A new user will be created if the above email address is not in the database.
    The username and password will be mailed to this email address.

    But I'm not able to add any full domain, just subdomains, is this functioning correctly?

  15. Okay.

    1) Add a subdomain to your site sitname.MAINDOMAIN.com
    2) MAP newdomain.com to sitename.maindomain.com via the plugin

    Are you doing that?

  16. George Appiah
    Member
    Posted 2 years ago #

    Here's the long-winded version of what Ipstenu succinctly said in just two lines.

    You appear to be solving two problems at the same time, and that makes it difficult to know exactly what is working and what is not.

    First forget about domain mapping (just for now). From the preceding, I assume you have a sub-domain setup. From WordPress, create a new sub-domain site sitename.MAINDOMAIN.com (if you haven't done so already).

    Does the sub-domain site you created above work? Are you able to access both the front-end and the WordPress dashboard for this site? If not, you have a problem with your DNS or Apache setup. Get this fixed before you move on.

    If the sub-domain site works fine, now is the time to MAP a new domain onto the EXISTING sub-domain site (it's called domain MAPPING plugin for a reason). Login to the dashboard for the sub-domain site, and go to Tools => Domain Mapping, and enter the new domain that you want to map unto this sub-domain.

  17. skibybadoowap
    Member
    Posted 2 years ago #

    When I try to update I get this error:

    Warning! Problem updating http://NEWDOMAIN.MAINDOMAIN.com. Your server may not be able to connect to sites running on it. Error message: Couldn't resolve host 'NEWDOMAIN.MAINDOMAIN.com'

    Looking for resolutions now.

  18. Did you setup wildcard subdomain support on your server?

  19. skibybadoowap
    Member
    Posted 2 years ago #

    So my host doesn't support wildcard subdomain support but I was able to manually set up some subdomains. I am able to access those subdomains (Right now they have the placeholder text from my webhost) but I'm still running into issues while mapping them. I am not able to access the dashboard for any of these subdomains.

    In the sites I see some of the websites set up to:
    Domain: SUBDOMAIN
    Mapping: ANOTHERDOMAIN.COM

    When I try to go to the dashboard for that subdomain it just provides a 404 error.

    Is this an issue with the mapping?

  20. George Appiah
    Member
    Posted 2 years ago #

    So my host doesn't support wildcard subdomain support but I was able to manually set up some subdomains.

    No, that will not work. The wildcard subdomains in question here are virtual (i.e. they should not exit at all), and WordPress uses it's own voodoo powers to bring up the right site. Manually creating sub-domains will not work (to the best of my knowledge anyway).

    At this time you have two options:

    1) Start over and use sub-directory installation, instead of sub-domains. This setup does not require any DNS or Apache kung fu, and works fine with the domain mapping plugin you're trying to use. I have this same setup for one of my clients in an ancient hosting environment where wildcard and many other basic stuff are not supported.

    2) If you really must use sub-domain, your only option left is to switch hosts.

  21. skibybadoowap
    Member
    Posted 2 years ago #

    Thanks George, I'll look into a Sub Directory installation. Is there a good tutorial online?

  22. So my host doesn't support wildcard subdomain support but I was able to manually set up some subdomains.

    No, that will not work.

    Actually YES it will.

    You can TOTALLY manually map the subdomain, you just have to make sure you map it to the /public_html/ location and NOT /public_html/subdomainname

  23. skibybadoowap
    Member
    Posted 2 years ago #

    At this point I'm starting to get very frustrated at this setup process. I could have installed 30 wordpress installations on 30 different domains at this point, but I am still looking forward to getting everything working on one installation as I think it will be better in the long run. I also appreciate the help.

    The path in my web host is like this
    /home/www/MAPPINGDOMAIN.MAINDOMAIN.com

    It looks like I can edit anything after the www.
    As far as mu-plugins, is that required for this installation?

    I am still running into problems when access the dashboard for any of my mapped subdomains: The page cannot be found! The page you have requested cannot be found on this server. HTTP 404 - File Not Found

  24. skibybadoowap
    Member
    Posted 2 years ago #

    UPDATE:
    Ok it looks like when I make the web host path:
    /home/www/MAINDOMAIN.com I am able to access all the features of the sub domain. Although when I try to go to the MAPPINGDOMAIN.COM it is just loading an html page I put there, not the database. Is this a dns issue?

  25. The path in my web host is like this
    /home/www/MAPPINGDOMAIN.MAINDOMAIN.com

    I'm not sure why you have that...

    Where's WP installed? In /home/www/ right?

    Your subdomains should be created pointing there. What kind of control panel are you using? Cpanel? Plesk?

    Edited to add: By the way, you should really concentrate on getting WordPress up and running as Multisite FIRST. Make sure that works. Then we can look at mapping domains :)

  26. skibybadoowap
    Member
    Posted 2 years ago #

    Let's start giving names to things. I have a blog, sweet.com, wordpress is installed there, I have also begun installing wordpress multisite there. I have another website, sour.com and I have set up sour.sweet.com. I am able to access sour.sweet.com, and wordpress is working there fine.

    For a domain registrar I'm using "vDeck 4" as the ui and for a host I'm using "AttractZetta Panel" which seems to be similar to cpanel.

    I have wordpress up and running as a multisite, and now I need to get to the domains part 8) How do I go to the next step?

  27. I am able to access sour.sweet.com, and wordpress is working there fine.

    To be clear, I'm going to assume that sour.sweet.com is a SUBSITE of sweet.com. Otherwise you're in the weeds and I have no idea how to get you out.

    Basically all you do is

    1) Point the records for sour.com to your sweet.com server IP or the CNAME. To quote otto:

    Every host is different, and you'll have to talk to your host to make them able to point the domain name at your existing site. How to do this varies from host to host, but the important thing is that when you visit your new domain (before you do this!) then you want it to go to your main site, as is.

    2) Turn on the domain mapping plugin.

    3) Add sour.com as the domain for sour.sweet.com

    4) Beer.

  28. skibybadoowap
    Member
    Posted 2 years ago #

    For step 1, what are the settings I need to use?

    MX Records:
    Priority 30
    Host @
    Points to 100.100.100 (My ip)

    Priority 30
    Host *
    Points to 100.100.100 (My ip)

    A records: Everything is pointing to my IP.

    Nameserver, pointing to my hosting name server.

    For Step 2, I am still unable to set up the mu-plugins folder successfully. If I put domain_mapping.php in that folder the website goes "White"

    For step 3, I have already mapped the website, do steps 1-2 need to be done before this step, or can I just do a network update?

    Step 4, What type of beer would you recommend?

  29. I don't know what YOU need to set it for, for step 1. I said it was different for everyone. All I did was get a domain, and point the DNS to my server.

    When you try to go to sour.com, where do you end up?

    For Step 2, I am still unable to set up the mu-plugins folder successfully. If I put domain_mapping.php in that folder the website goes "White"

    You're doing it wrong.

    Re-read the directions. Especially this part:

    Illustrated installation instructions can be found here but you can ignore the instructions to place domain_mapping.php in mu-plugins. Thanks Otto.

    And yes, you MUST do step 1 and 2 before 3, because step 3 is done with the plugin you have not yet installed.

  30. vFor Step 2, I am still unable to set up the mu-plugins folder successfully. If I put domain_mapping.php in that folder the website goes "White"

    likely you are copying over the file from plugins, making TWO instances of the file, and thus causing a white screen.

    leave it in plugins. network activate it.

Topic Closed

This topic has been closed to new replies.

About this Topic