[Plugin: WordPress MU Domain Mapping] How do I verify it is working?
-
I am using Linux, Cpanel, and new install of WP 3.1. I have created domain.com and a parked domain, subdomain.com (parked domain is not mapped in Cpanel). In a separate post (See http://wordpress.org/support/topic/how-do-i-verify-that-multisite-is-installed-and-working?replies=5) I have verified that Multisite is working.
I have followed first the instructions offered at http://ottopress.com/2010/wordpress-3-0-multisite-domain-mapping-tutorial/, in the WordPress plugin download page, and also in the plugin readme. I am not sure that this is installed correctly as all three have discrepancies, especially Ottopress that is 9 months old and does not reflect current versions of anything. While I do not get any errors directly in WordPress dashboard, I am not able to map my domains.
Following the readme file directions, which I hope are the newest:
1. Install the plugin in the usual way into the regular WordPress plugins folder. Network activate the plugin. [DONE]
2. Move sunrise.php into wp-content/. If there is a sunrise.php there already, you’ll just have to merge them as best you can. [DONE]
3. Edit wp-config.php and uncomment or add the SUNRISE definition line. If it does not exist please ensure it’s on the line above the last “require_once” command. [DONE]
define( 'SUNRISE', 'on' );
4. As a “super admin”, visit Super Admin->Domain Mapping to create the domain mapping database table and set the server IP address or a domain to point CNAME records at.
[UNCLEAR IF DONE]
— I have tried either IP Address or CNAME with same results.
— Only Permanent redirect and Redirect admin pages are checked
— Clicking Save appears to process and bottom status line of browser says Done but there are no other indications that anything occurred.5. Make sure the default Apache virtual host points at your WordPress MU site or WordPress 3.0 network so it will handle unknown domains correctly. On some hosts you may be required to get a dedicated IP address. A quick check: in a web broswer, type in the IP address of your install. If you are using CPanel, use the Park a Domain menu to set the mapped domain to your main installtion.
[DONE?]
— I have created parked domain and have tried both mapped and unmapped in cPanel (instructions suggested both and also that it was okay if not done]6. Do not define COOKIE_DOMAIN in your wp-config.php as it conflicts with logins on your mapped domains.
[DONE]
— By current default there is currently no mention of COOKIE_DOMAIN in the wp-config file.BTW, domain_mapping.php was left in plugins and not MU-Plugins
As a cPanel user (per the readme file), unclear what is meant by “If your domain uses the nameservers on your hosting account you should follow these instructions. If the nameservers are elsewhere change the A record or CNAME as documented above.”
Readme says: “Add a wildcard subdomain/virtual host record to your site’s DNS record in Web Host Manager (WHM). If you do not have access to WHM, you must email your web host and ask them to make this one change for you.”
[UNCLEAR]
It appears I have access/rights but do not in Add a DNS Zone see anything that matches the directions. I was able to create the *.domain.com 1440 IN A 123.456.789.012 record in the cPanel. Is this sufficient or incorrect?Readme says to create parked domain. [DONE]
Readme says “Now you’re ready to do your domain mapping.”
If it were so simple…
First, what do I enter in Domains? I’ve seen on some sites pictures showing 1 domain.com Primary and then 2+ for additional mapped domains. But currently I have nothing displayed and when I enter 1 and domain.com and Primary, it “saves” yet does not display the record as shown on some websites discussing this plugin. I can enter 2 subdomain.com not primary without problem.
But what does this (above) accomplish?
Now, in Sites, I have domain.com and when I edit I see it is mapped to / but on the initial display mapping is null (contrary to some pictures I’ve seen for this page)
I have added new site subdomain that thereafter shows subdomain.domain.com and path is / Is this correct?
Bottom line is that I don’t know if this is configured, used, or working. Well, working, no it is not.
If I browse to subdomain.com I get redirected to domain.com. But if I go to subdomain.domain.com I do access the subdomain blog at subdomain.domain.com.
So, what am I doing wrong in installation, configuration, or use of this plug-in?
- The topic ‘[Plugin: WordPress MU Domain Mapping] How do I verify it is working?’ is closed to new replies.