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

    (@wpmuguru)

    I have https://www.site1.com, https://www.site2.com and https://www.site3.com redirected in CPanel to https://www.multisite.com/site1, https://www.multisite.com/site2 and https://www.multisite.com/site3 accordingly.

    If you are doing domain mapping don’t redirect the domains to the sites. With what you have now you could remove the DM plugin and you would see the behaviour.

    The point of mapping is that it catches the request for the domain and shows the content of the site it is mapped to.

    Thread Starter Doubleface

    (@doubleface)

    Played some more with this whole mapping stuff and understood myself that I don’t need to redirect the domains ??

    I’m pretty sure that I have everything setup up right on the WordPress end but I’m missing something on the server side.

    Currently I have https://www.site1.com pointed to my server (which also hosts the multisite installation). DNS details are:

    @           A    xx.xx.xx.xx
    localhost   A    127.0.0.1
    *           A    xx.xx.xx.xx
    @           MX   10 site1.com

    Do I need to add something here for the plugin to work? Or change something in DirectAdmin (it’s actually not CPanel :))? BTW, I’m using subdirectories.

    Plugin Author Ron Rennick

    (@wpmuguru)

    Look for either domain parking or domain alias in DirectAdmin. You need to park the domain on your WP install/create an alias for your mapped domain that points to your WP install.

    Look for either domain parking or domain alias in DirectAdmin. You need to park the domain on your WP install/create an alias for your mapped domain that points to your WP install.

    Ron, what do you mean by “DirectAdmin”? Your response here doesn’t make sense to me, because I don’t understand the terms you’re using.

    I have the same problem as described by Doubleface. Would you mind explained a little more how to set this up to work to that the mapper domain is always shown in the url, even then accessing https://www.site1.com/wp-admin (to stick the example), instead of changeing to https://www.multisite.com/site1?

    Plugin Author Ron Rennick

    (@wpmuguru)

    Ron, what do you mean by “DirectAdmin”? Your response here doesn’t make sense to me, because I don’t understand the terms you’re using.

    Perhaps I was answering the OP’s question…

    Do I need to add something here for the plugin to work? Or change something in DirectAdmin (it’s actually not CPanel :))? BTW, I’m using subdirectories.

    Thanks for clarifying that!

    However, it still don’t have a solution as to how to prevent the multisite url from being shown rather than the actual client domain. If I have a site https://www.clientdomain.com and it is actually https://clientdomain.imhostingclients.net in my multidomain WP installation, I want to have https://www.clientdomain.com not just for the client pages, but for the https://www.clientdomain.com/wp-admin pages as well. How do I achieve that? What should I look for? The former (https://www.clientdomain.com) works for the pages, but the latter (https://www.clientdomain.com/wp-admin) switches to https://clientdomain.imhostingclients.net/wp-admin right away.

    The problem is wider than that. When I use a social media plugin on the clientsite (https://www.clientdomain.com/) for example, the posts on twitter don’t refer to https://www.clientdomain.com/ but to https://clientdomain.imhostingclients.net/ which is of course not acceptable.

    I’m facing the same issue with my installation as well. I have parked the domain on Godaddy, so to continue the example, site1.com is parked on multisite.com in my Godaddy WHM panel.

    But when I go to site1.com, it changes the URL to multisite.com/site1 – I’m sure it’s something I am missing on the multi site config or the domain mapping config.

    thanks in advance!

    Hey! I just got it working. It was a simple setting in the Network Domain Mapping Configuration.

    Go to Network Admin -> Dashboard -> Settings -> Domain Mapping

    Under Domain Options, you see point 5, Disable primary domain check. Sites will not redirect to one domain name. May cause duplicate content issues.

    I selected that, so that logically means, the URL will now NOT redirect to the main domain. Save and clear your cache and cookies, and everything should work!

    Thread Starter Doubleface

    (@doubleface)

    I’ve solved my problem with the help of mys ISP. The thing was, that I had https://www.site1.com, https://www.site2.com and https://www.site3.com added as normal domains in my DirectAdmin panel. The trick is that they don’t have to be added as normal “top level” domains, they only have to be added as aliases to https://www.multisite.com (multisite.com > Domain pointers > add site1.com, check “Create as an alias”)

    Hi Ron – I tried what you said and used the domain parking option available in the Godaddy WHM panel so site1.com points to multisite.com/site1 correctly.

    However, the URL is not maintained when I try to go to https://www.site1.com and the Godaddy panel doesn’t allow me to park https://www.site1.com on multisite.com either.

    Any ideas on what I can do?

    Plugin Author Ron Rennick

    (@wpmuguru)

    site1.com points to multisite.com/site1

    You don’t point the domain to a URL (that causes a redirect). Park the domain onto your WP install and let the DM plugin manage the request for the domain.

    Hi Ron, I think I said that incorrectly. I did exactly what you’re suggesting. I parked site1.com on multisite.com and that works perfectly. The plugin handles it and the correct site is served.

    However, I can’t seem to park https://www.site1.com on multisite.com and when I go to https://www.site1.com in the browser, it redirects instead to multisite.com/site1

    Plugin Author Ron Rennick

    (@wpmuguru)

    You need to add the www as a CNAME to the non-www in your DNS instead of parking it.

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Different URLs’ is closed to new replies.