• ccastro1

    (@ccastro1)


    Lets say I want to use the CNAME method instead of the IP method. Assume then that I have the 2 following domains:

    Ugly URL
    my-wp-domain.com/blog (where the wordpress blog/content is hosted)

    Pretty URL
    my-blog.com (the remote domain name where I want to display content from my ugly URL located at my-wp-domain.com/blog )

    Step1.
    I navigate to the my-blog.com domain’s DNS Manager Tool, and add a CNAME record where I save my-wp-domain.com as the target destination for my-blog.com … is this the correct way?
    (pls note that my DNS Tool already indicates that there is a CNAME record setup for my-blog.com with the “www” prefix/sub-domain … should I just edit this record and change the target to my-wp-domain.com, or should I create a new CNAME record and leave the sub-domain field blank but add in my-wp-domain.com as the target???)

    Step2. On the “Domain Mapping Configuration” Screen, in the “Server CNAME domain” field, I would enter in my-wp-domain.com and click save … is this the correct way?

    On the “Domain Mapping Configuration” Screen, WP Version 3.9.1 adds the following 5th Domain Option:
    **Disable primary domain check. Sites will not redirect to one domain name. May cause duplicate content issues.**
    Can you please explain what this 5th Option does? If I am making the blog/contents hosted at my-wp-domain.com/blog appear when visitors navigate to my-blog.com, then I would want to leave this box unchecked, correct?

    https://ww.wp.xz.cn/plugins/wordpress-mu-domain-mapping/

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

    (@wpmuguru)

    Step2. On the “Domain Mapping Configuration” Screen, in the “Server CNAME domain” field, I would enter in my-wp-domain.com and click save … is this the correct way?

    That field is only for user reference. The setting has no affect on the way the DM plugin functions.

    Can you please explain what this 5th Option does?

    By default DM redirects all requests for a domain mapped site to the primary domain you have selected for that site. If you check that setting that redirect is disabled.

    Thread Starter ccastro1

    (@ccastro1)

    Thank you Ron, but what about Step 1 ? Is the target value that you enter into the CNAME record supposed to be the blog’s primary domain name??? (When I say primary domain, I am referring to the domain name where the WP blog is hosted at) I ask because your primary URL was ottodestruct.com/op/ but the CNAME target field does not allow me to save domains with sub-directory folders in the URL, such as /op/ … it only lets me input domain names and sub-domain names.

    But the reason why I’m resorting to the CNAME method, is because the IP address method is not working… I have everything properly configured according to your instructions and diagrams, but when I navigate to the vanity/pretty domain name, all I get is a 404 Not Found page.

    Plugin Author Ron Rennick

    (@wpmuguru)

    but the CNAME target field does not allow me to save domains with sub-directory folders in the URL, such as /op/

    That’s correct. When you specify a CNAME in your DNS records it is the domain name only. DNS = Domain Name Server: DNS is a lookup for domain names vs for URLs.

    Is the target value that you enter into the CNAME record supposed to be the blog’s primary domain name

    Yes, if you have a folder install. If you have a subdomain install you can use any of the subdomains as well.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘CNAME Domain Mapping Setup vs IP Setup’ is closed to new replies.