Domain mapping - new TLD working, but old address (user.domain.com) isn't

I've installed and set up Domain Mapping, and it's working okay. But now the old address redirects to the new one. I would like to have both addresses working, if possible. How do I achieve that?

  • Mark Wallace

    Try this; Note i have not used this plugin, but it might work. it comes from the manual at this link: Under the usage tab
    https://premium.wpmudev.org/project/domain-mapping/

    It has some pictures and It will read:
    "WARNING: If in the previous steps you chose “Mapped Domain” as the method for accessing the admin area and the domain being mapped is either not resolving to your server yet or not resolving for another reason other than DNS propagation then that admin area will not be accessible until the domain name has resolved correctly. Choose another option if this bothers you. :slight_smile:

    Adding a domain name which is not resolving correctly in this instance will make that admin area inaccessible. Honest, we warned you!! :wink:

    So, lets go to a sub site which has it own domain to map.

    Admin » Tools » Domain Mapping
    In here you can add the domain to be mapped to your sub site. Once you click add then thats all you need to do from WordPress"
    Hope it helps!

  • osman

    MTB1701 Thanks for your reply. I read that instruction, but it didn't help me. I'm afraid you did not understand my question. I'll try to explain:

    I have a multisite installation on the address like http://domain.com . The installation is set to use subdomains, so individual sites' addresses are http://sub1.domain.com , http://sub2.domain.com etc. For example, for the first site I want to use another address http://newdomain.com , but I also want to keep the old sub1.domain.com . I've installed the Domain Mapping plugin, so now my site 1 is accessible through http://newdomain.com but if I type the old address sub1.domain.com it gets redirected to newdomain.com . I don't want that, I want both addresses to be functional and pointing to the same website.

  • Mark Wallace

    Hi osman!
    I must be really tired. I’m still not getting it. Im going to break down your question so you can help me through this.
    “For example, for the first site I want to use another address http://newdomain.com , but I also want to keep the old sub1.domain.com .”

    ***This makes it sound like you want to keep the names going to the same place***

    “I've installed the Domain Mapping plugin, so now my site 1 is accessible through http://newdomain.com but if I type the old address sub1.domain.com it gets redirected to newdomain.com."

    ***here it sounds like you achieved what I thought you was saying***

    “I don't want that, I want both addresses to be functional and pointing to the same website.”

    ***but here it sound like you achieved your goal, but didn’t want it.***

    I admit I am tired and will be going to bed really quick. So just in case I’m not missing something go ahead and clarify this. I am really sorry about wasting your time.

    Also everything i read so far goes into database settings, I’m not comfortable trying to help someone with databases just yet. I just started learning about them this week; and I don’t want to make things worse or send you in circles.

  • Timothy Bowers

    I've installed and set up Domain Mapping, and it's working okay. But now the old address redirects to the new one. I would like to have both addresses working, if possible. How do I achieve that?

    That is normal behaviour.

    A website should not have multiple domains unless one is a redirect to the other. If you did then it would kill your SEO, Google hate duplicate content and have multiple domains or sub domains showing the same content just wouldn't be a good fit.

    If you wanted both to work on a single install replicating the content then you would need to hire a developer to do that for you but as mentioned it wouldn't be advisable.

    Take care.

  • osman

    Thanks again Timothy :slight_smile: I didn't know about that SEO catch. Well, I guess I better leave it as it is. My website's address will be newdomain.com and site1.domain.com will redirect to it.

    MTB1701 I'm really sorry for not expressing more precisely. I'll try to clarify.

    > This makes it sound like you want to keep the names going to the same place

    Yes, that is what I wanted.

    > here it sounds like you achieved what I thought you was saying

    Unfortunately, not quite. Both addresses will indeed open the same website, but if you type newdomain.com it will stay that way, and if you type site1.domain.com it will redirect to newdomain.com. That's what was bothering me.

    > but here it sound like you achieved your goal, but didn’t want it

    Hehe, really sorry :slight_smile: I see I've made a very confusing request. All I wanted was to have both addresses functional and accessing the same website, but without one redirecting to the other. I wanted them both to operate normally. However, now after Timothy's explanation, I see that it wasn't a good idea, and I'll leave my website existing on newdomain.com and site1.domain.com redirecting to it.

  • Mark Wallace

    Ok lol you were wanting the same website to two different URL's. Its ok, I’ve learned tonight; that I should take my time and look more closely to what people are saying, and even more time looking for answers before responding. It’s funny I’ve always avoided forums, and said I’d never put one on any of my personal websites, Now i actually find myself here more than I do on my own websites. It’s almost like finding your first chat room back in the 90’s lol. So I guess I get a little exited to help. Have a good weekend Osman; you too Timothy!