WordPress.org

Ready to get started?Download WordPress

Forums

WordPress MU Domain Mapping
How to Map a Site to a Domain (21 posts)

  1. George Lerner
    Member
    Posted 2 years ago #

    How do I map a blog to the domain I want?

    I have WordPress 3.3 (not 3.3.1 yet), installed in /public_html
    I have the dev version of the Domain Mapping plugin, 1/7/2012

    I am using the subdomain multi-site installation of WordPress (not sub folders)
    I have wildcard DNS working; when I create a blog, WP creates a subdomain for it.

    I have a domain name glerner.com as a subdomain, pointing to /public_html/glerner
    I have a domain name for WordPress, pointing to /public_html

    I want to change the default http://liquidfluoridethoriumreactor.wpdomain.com
    to http://liquidfluoridethoriumreactor.glerner.com

    I have this working for another blog. There used to be a page for specifying the mapping.
    Now I can't find how to map the blog to the domain I want (a change in WP 3.2 or 3.3 menus?)

    If I simply Edit the Site (/wp-admin/network/site-info.php) and put what I want in the Domain field, the blog displays with the address I want (http://liquidfluoridethoriumreactor.glerner.com) but I am unable to log in to /wp-admin (I am brought back to the login screen). [I didn't think it would work, but it's all I can find to try].

    The only Domain Mapping instructions (once the plug-in is installed) that I can find are for previous versions of WordPress.

    http://wordpress.org/extend/plugins/wordpress-mu-domain-mapping/

  2. Ron Rennick
    MultiSite Guru
    Plugin Author

    Posted 2 years ago #

    The only Domain Mapping instructions (once the plug-in is installed) that I can find are for previous versions of WordPress.

    The instructions for the current version of WP are the same as for WP 3.1.Other than bug fixes the plugin hasn't changed in about a year.

  3. George Lerner
    Member
    Posted 2 years ago #

    Ron,

    The readme.txt mentions "Tools->Domain Mapping where they can add or delete domains."

    I don't have that menu any more.

    There used to be a screen for doing the actual mapping (once I have added a domain in WordPress, which blogs do I want mapped to it). I can't find that screen now.

    The blogs that I mapped before are still working, but I can't map a new blog.

    I have My Sites, Network Admin, Dashboard (http://lernerconsulting.info/wp-admin/network/)
    from there, Settings, Domain Mapping, Domain Options
    from there, Settings, Domains

    But where do I say to map a single blog to a domain I put in Domains?

  4. Ron Rennick
    MultiSite Guru
    Plugin Author

    Posted 2 years ago #

    Network Admin -> Settings -> Domains

    You have to have a sub site to be able to map a domain.

    Alternatively, you can turn on the user DM page which appears in the Tools menu on the subsite.

  5. George Lerner
    Member
    Posted 2 years ago #

    Ron,

    I do not have a Network Admin -> Settings menu.
    I've looked from my main domain's wp-admin, and from a mapped domain's wp-admin

    I do have subdomains, and WordPress installed in subdomain mode.
    I have several sites set up.
    I have old sites where I mapped (e.g. http://lcblog.lernerconsult.com ) but can not map new domains.

  6. Ron Rennick
    MultiSite Guru
    Plugin Author

    Posted 2 years ago #

    Did you create a network in your WP install?

  7. George Lerner
    Member
    Posted 2 years ago #

    Ron, I don't understand.
    I have WordPress running multi-site, subdomain mode.
    I have wildcard DNS, so WordPress creates newblog.lernerconsulting.info effortlessly.
    I have 19 sites created in the one WP installation.
    That's what I think of for "create a network".

    WP was installed so I could map, for example, lcblog.lernerconsulting.info to lcblog.lernerconsult.com (where lernerconsult.com is a subfolder of public_html and WordPress is installed in public_html)

    Now I can't even find the screen for specifying that mapping.

  8. Ron Rennick
    MultiSite Guru
    Plugin Author

    Posted 2 years ago #

    If you have WP 3.3(.1), hover on the My Sites. When the menu drops down, click on the Network Admin link.

  9. Ron Rennick
    MultiSite Guru
    Plugin Author

    Posted 2 years ago #

    Also, you cannot use domain mapping to map other WP installs into your network.

  10. George Lerner
    Member
    Posted 2 years ago #

    Only one installation of WP on my server (and not trying to map WP installed another servers into this network).

    OK, My Sites, Network Admin. I have Dashboard, Sites, Users, Visit Network
    Now what?

    In Sites (http://lernerconsulting.info/wp-admin/network/sites.php), there is a column "Mapping" but no way to specify mapping.

    I'd like someone to write instructions. Instead of "RTFM" I'm asking "where is ..."

  11. Ron Rennick
    MultiSite Guru
    Plugin Author

    Posted 2 years ago #

    After you click on Network Admin (not a submenu item under Network Admin) you should be able to get to see this screenshot by clicking on the Settings menu item

    http://wpmututorials.com/files/2012/01/003-net-admin.png

  12. George Lerner
    Member
    Posted 2 years ago #

    Ron, everyone,

    Instructions Please!

    Yes, Ron, I see those menus. In Network Admin, I have Network Settings, Network Setup, Domain Mapping, and Domains. (I don't have any Sitewide Tags menu item.)

    But How Do I Use them? What do I put in each field, to get domain mapping going?

    Are there settings in other menus? Seems like there would be changes in Sites as well.

    Instructions, please!

  13. lernerconsult - Take a deep breath.

    You're over thinking some of this. Click on the link for 'Domain Mapping' and look at the page. What's it asking you?

    It looks like this: http://ottopress.com/files/2010/06/domainmapping3.png right?

    You can read this: http://ottopress.com/2010/wordpress-3-0-multisite-domain-mapping-tutorial/

    Some of the locations of the menu are out of date, but it should help.

    Keep in mind, we can't tell you what the answers are, since everyone's IPs, domain names, and choices, are going to be different.

  14. George Lerner
    Member
    Posted 2 years ago #

    Ipstenu,

    I've seen the OttoPress tutorial. It's good, but either leaves out some steps, or leaves out a few details I need to get it right.

    I've done "Manual Plugin Installation", "Activate Sunrise"

    In "Server Info", the Domain Mapping Configuration screen, I have the domain name for my WordPress 3 installation, without leading http://www. in Server CNAME Domain (example: lernerconsulting.info). I have "Permanent Redirect" and "User domain mapping page" checked (none others).

    In "Mapping the Domain" I do not have what he shows. All I have is "Add new domain".

    I have http://opera.lernerconsulting.info
    I want it to be http://opera.glerner.com
    I put "glerner.com" in "Add new domain" and get "New domain already exists."
    So, what else do I have to configure to get it working?

    Are there settings in Sites, Edit? Most things I've put in the Domain field (with or without "Update siteurl and home as well" either make the blog fail totally, or have it display with the URL I want, but logging in fails in an endless loop.

    OttoPress says "The other way to set domain mapping is through the Super Admin->Domains menu. Here you’ll find a list of sites and their ID numbers. You can map an id number directly to a domain name here."

    In Network Settings, Domains [I'm guessing this used to be Super Admin->Domains], what do I use for Site ID? Never seen any documentation for this field. What do I put for the domain? (glerner.com? opera.glerner.com? http://opera.glerner.com?)

  15. Did you already map glerner.com?

    opera.glerner.com is a SUBDOMAIN, not a top level domain. Try putting that in, instead.

  16. George Lerner
    Member
    Posted 2 years ago #

    WordPress is installed as http://lernerconsulting.info, multi-site in subdomain mode, and is working.

    I have a non-WordPress web site, http://www.glerner.com, on the same web hosting account.

    "Did you already map glerner.com" is ambiguous. Did I "map a blog to glerner.com"? That is what I've been trying to get working... so I have to say "no". If you mean by "map" "does http://www.glerner.com display a web site?", then yes.

    "Try putting that in, instead". If you mean "did I put glerner.com in the Domain field", yes I've tried that. If you mean "put opera.glerner.com in the Domain field" I'll try that.

    I want a WordPress blog http://opera.glerner.com, mapped from http//opera.lernerconsulting.info

    /wp-admin/network/settings.php?page=dm_domains_admin asks for a Domain; when I put glerner.com there, I get "New domain already exists."

    /wp-admin/tools.php?page=domainmapping asks for a Domain; when I put glerner.com there it appears to take it, but the mapping doesn't work: http://opera.glerner.com brings me to http://lernerconsulting.info/wp-signup.php?new=opera.glerner.com

    Someone who has this working on their site: what specifically did you do? What values did you put in which fields, to get your mapping working?

  17. wasana
    Member
    Posted 2 years ago #

    I appreciate LernerConsult frustration, I am also having a hard time following instructions that have outdated references - "same same, just different" is causing much difficulty.

    WP 3.3.x
    1) Super Admin -- does this exist anymore other than as a user status? Screenshots/instructions reference Super Admin > Settings that I can't find...

    2) Network Admin > Settings > Domains ... I don't have domains listed, where/how would Domains get added to this dropdown?

    3) DNS settings... I will send a PayPal payment to someone showing screenshots from WHM DNS Zone Edit -- showing how to have my addon domain(s) A/Cname set correctly -- all I want is my addon domains to be simple wordpress sites http://www.addondomain.com -- no subdomains, no subdirectories...

    Please advise... here or a reference website -- THANKS

  18. George Lerner
    Member
    Posted 2 years ago #

    I have gotten domain mapping working perfectly, for a SubDirectory installation of WordPress.

    I have written detailed step-by-step instructions for installing the domain mapping plugin, configuring the plugin, and using domain mapping.

    I also have documented how to clean up incorrect settings that prevent domain mapping.

    See http://lcblog.lernerconsult.com/2012-wordpress-3-multi-site-domain-mapping/

  19. George Lerner
    Member
    Posted 2 years ago #

    @wasana On most hosting accounts you do not have permissions to directly change ANAME or CNAME records. Those instructions are for people managing their own servers.

    On hosting accounts, you use Parked Domains (point to /public_html) or Add-On Domains (creates and points to a folder in /public_html/)

    I haven't yet done a "WordPress only" site, all my blogs are subdomains. Please let me know what you find, using the instructions I wrote
    http://lcblog.lernerconsult.com/2012-wordpress-3-multi-site-domain-mapping/
    and I will include it in my instructions.

    http://www.glerner.com/shared/contact.php

  20. Jeremiah Snapp
    Member
    Posted 2 years ago #

    Thanks lernerconsult for your helpful instructions. I followed them and noticed you copied domain_mapping.php to mu-plugins to get the plugin completely working. I did that and it worked for me too. However I found out how to get the plugin to work by just leaving it in the plugins directory as the plugin author instructs. All I had to do was leave the domain_mappings.php in the plugins directory and go to Network Admin Plugins page and "Network Activate" the plugin. Everything just worked after doing that.

  21. Timothy L. Gott
    Member
    Posted 1 year ago #

    Appreciate the post lernerconsult. However, if I have both of the below options available to me, is there any advantage of one over the other?

    1) create a subdomain and point a CNAME record.
    2) use Parked Domains (point to /public_html)

    I have a Reseller Account with HostGator (and a WHM panel) so I am guessing that's why I can do a little more configuring than basic shared hosting accounts.

    I'm using the Parked Domain technique because it's the one that worked for me when I originally set this up two years ago. But I've been curious about the other option, theorizing that there might be some sort of benefit in managing server space or something else I haven't thought of by creating a subdomain and pointing a CNAME record to it.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic