easiest way to add a second domain with email to a main multisite domain

We have a multisite domain with domain mapping. http://aresnyc.org
5 sites two sites have domains mapped to them via a parked domain. No dedicated IP.
We want to add a second domain to http://aresnyc.org . In other words if someone types in http://nycdistrictares.org it will load up http://aresnyc.org for SEO and non Dup purposes redirect to http://aresnyc.org and still have email with http://nycdistrictares.org Cpanel Account by the way

Also I did try multidomains plugin and it still does the same thing load the header and footer, No Content then stops loading heres the url http://aresnyc.org
add on domain is http://nycdistrictares.org - This is what the url looks like http://aresnyc.org/wp-signup.php?new=nycdistrictares.org

  • Sajid
    • DEV MAN’s Sidekick

    Hi HamRadioDude,
    Hope you are doing good today :slight_smile:

    In this case, to use the second domain you need a dedicated IP as mentioned in our potential issues and their possible remedies while using the Multi Domains plugin.

    Potential Issues

    Many times you may run into trouble where mapped domains don’t resolve to your WordPress Multi-site install even though the DNS is correct for the domain you are trying to map.

    This is especially common with shared hosting. Some symptoms are getting a default or non-existent domain screen branded by your host. What this means is that your WordPress install/virtualhost is not set as the default for your IP address, so different domains do not load it up.

    Here is a very simple way to check if your hosting is configured correctly: Simply enter your server’s IP address into a web browser and see if it loads up your WordPress signup page. For example, using the Edublogs IP you would enter into the web browser. See how it loads up the signup page? If entering your IP pulls up an error screen from your host (Example: here is what you can do:

    1. Purchase a dedicated IP address for your hosting.

    2. Many times just the dedicated IP will do the trick. If not, you will need to ask your host to configure your WPMU virtualhost to be the default for your dedicated IP.

    3. If you have addon domains in your hosting account, this may cause additional issues. To resolve this, you could add the domain you want to offer as a parked domain. Then create a wildcard A record in your DNS zone editor and point it to your dedicated IP as shown above.

    Note that any DNS edits may take up to 48 hours to propagate.

    Please follow the steps and let us know if its still not working for you so we can dig deeper.

    Look forward towards your response HamRadioDude :slight_smile:

    Best Regards,

  • Sajid
    • DEV MAN’s Sidekick

    Hi HamRadioDude,
    Hope you are doing good today :slight_smile:

    It appears that you did not pointed the IP to root of this site! This is your IP and its redirecting to signup page. That is the reason its not loading the correct site.

    Please configure it correctly and make sure the IP points to root of the site and both sites points to same IP and then check again.

    Hope that helps! Feel free to post a reply if you need further assistance :slight_smile:

    Best Regards,

  • sushling
    • The Bug Hunter

    I would think that your provider of the dedicated server or even the guys from cPanel could help you better. In case your server-provider cannot help, I strongly recommend to open a ticket at cPanel directly.

    cPanel support is fantastic and they help you with lots of issues that are relating to server, IPs, cPanel/WHM etc. You need to open an account at cPanel support first.

    also I activated support access

    If you "grant support access" within cPanel, it's directly connected with your cPanel-server. It has no relation with the WPMUDEV plugin.

    I hope you will find a way to solve the problem soon. For myself I wish to help you with the Multi-Domain-Plugin better, but never used it. You may find my advice regarding cPanel helpful.

    Good luck and have a perfect day :slight_smile:

  • HamRadioDude
    • HummingBird

    Thank you for your advice. But thats why I have wpmuDEV for.
    They are supposed to help me with Multi-domain not working as advertised. and if there is a config issue with the server they should tell me what to change or do.
    They have the fix in there usage page but they are vague with it and don't tell you what you have to do to fix it just tell you to point it to the domain.
    when I search for virtualhost to be the default for your dedicated ip on google all that comes up is edit the host file for ip or domain lookup.
    I do not know enough about it someone somewhere in support should be able to help me.
    My host (person I rent the server from) said I do not need a dedicated IP for domain mapping
    the instruction say I might need it. I gave it on anyway because of the instructions say too.
    At this point I can't recommend wpmuDEV any more to my clients.
    Last reply to my problem was Wed Jun 29 2016, 4:42:27 PM so now its been a day and a half with out help.

  • Sajid
    • DEV MAN’s Sidekick

    Hi HamRadioDude,
    Hope you are doing good today :slight_smile:

    I asked you because that is the only reason that can cause this issue. If its still not working then please contact your host as suggested by sushling or send me the cPanel login details. I will flag the developer of this plugin for his invaluable feedback on this matter.

    Send in the WordPress login and FTP (may need to edit the files) credentials privately via our contact form in following format.

    Subject: "Attn: Sajid Javed”
    - WordPress admin username
    - WordPress admin password
    - login url
    - cPanel credentials (host/username/password)
    - link back to this thread for reference
    - any other relevant urls

    Make sure you select I have a different question from dropdown (see screenshot) - this and subject line ensures that it will get assign to me.

    Take care and have a nice day :slight_smile:

    Best Regards,

  • sushling
    • The Bug Hunter

    Dear Mike,

    I think one should differentiate between areas of responsibilities within your vendor-setup.

    1. WPMUDEV the software-vendor and should help with how to install, configure and use their plugins and themes. Their plugin relies on correctly configured DNS (Domain Name System) or rather NS-settings / NS-records on server/cPanel side.

    2. Your hosting-provider is your server-vendor and probably providing the domain. They are responsible for all hardware, network, security etc. related functions of your web-presence as well as for correct and reliable DNS.

    3. As you are using cPanel for managing the server, they are the third party in this setup by providing the software that you are using to manage server-applications such as Apache/PHP, MySQL on the server by providing a nice GUI, even for DNS.

    With cPanel / WHM you can also manage DNS, but maybe the server-provider is providing external DNS. WPMUDEV cannot know if DNS is managed via cPanel, external DNS or wherever.

    I think the areas of responsibility regarding your issue cannot clearly be allocated to only one of them, but rather more to 2+3. From my perspective - being a beginner - you seem to pay for all three parties anyway, so why not just try to fix the issue by asking for support at all three instead of only one?

    It's just a practical advice and I may be wrong with my estimation about responsibilities. But I think you should focus on the issue and try to solve it with all available resources (= support from hosting provider AND cPanel).

  • aecnu
    • WP Unicorn

    Greetings All :slight_smile:

    I am going to address this ticket with common sense and the fact that this client said he has a dedicated server - https://premium.wpmudev.org/forums/topic/easiest-way-to-add-a-second-domain-with-email-to-a-main-multisite-domain#post-1103379

    Now tell me how is the host or cPanel responsible to support plugins even if it is not a dedicated server? Um - NOT! But of course we still try to help our hosting clients if we can.

    Next and primarily the client here is trying to domain map a TLD domain to another TLD domain - he is clearly using the wrong plugin ( multi domains plugin ) which adds an alternate domain to the MultiSite to create sub sites using said domain - but has nothing to do with mapping a TLD to another TLD within the same MultiSite in which he is clearly trying to do as mentioned in his original post.

    "We want to add a second domain to http://aresnyc.org . In other words if someone types in http://nycdistrictares.org it will load up http://aresnyc.org for SEO and non Dup purposes redirect to http://aresnyc.org and still have email with http://nycdistrictares.org Cpanel Account by the way"

    The answer to this is within his original post and troubleshooting as indicated in his original post the site was working just as it should - and the answer is he should be using domain mapping.

    If domain mapping cannot map one TLD to another TLD he should then be domain mapping the "new" domain to the same sub site that he mapped the original domain.

    If that does not work he should then map the "new" domain to an arbitrary sub site of the multisite, make a arbitrary post and then use a redirect ( perhaps https://wordpress.org/plugins/quick-pagepost-redirect-plugin/ ) to the original site/domain.

    The clues were in his original post with the main clue being "This is what the url looks like http://aresnyc.org/wp-signup.php?new=nycdistrictares.org"

    That line alone shows that the domain is correctly making it to the target multisite with or without a dedicated IP and a clear indication that the "new" domain needs to be mapped ~or~ redirected using one possible method that I described and there are several other ways to effect the redirect.

    In summary:

    The client should remove the multi domain plugin as its function is not related to the task he wants to perform.

    He should then either domain map the "new" TLD to the original TLD and if that is not possible create an arbitrary sub site ... map the "new" TLD to the sub site, make an arbitrary post (static as front page ) and then use a plugin like https://wordpress.org/plugins/quick-pagepost-redirect-plugin/ to redirect said post to the original TLD.

    Have a GREAT upcoming weekend everyone!

    Joe :slight_smile:

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.