Domain Mapping and multi-domains

I am attempting to allow my users to have their own domain on my network. I am currently using sub domains. Specifically, if a user signs up for usersite.mynetwork.com I would like them to be able to change this to usersite.com, assuming they own that domain.

I am a little confused about which plugin I should be using to accomplish this Domain Mapping or Multi-Domains. Also, an example of how specifically to set this up would be great as well.

  • Ash

    Hello @Bryan

    Welcome to WPMU community!

    I hope you are well today and thanks for asking the question.

    In your case, you will need Domain Mapping plugin.

    Let me simplify the procedure.

    For example, your main site is network.com
    You have two subsites:
    1. one.network.com
    2. two.network.com
    These two subsites you want to map with following domains repectively:
    1. one.com
    2. two.com

    So, if anyone enter one.com in the browser, it should show the site of one.network.com. Same for two.com

    So, there are two scenarios now. Either you own all the domains, or you don't. First I think you own all the domains.

    network.com site is hosted in a hosting whose nameservers are:
    ns1.networkhost.com
    ns2.networkhost.com

    So, you have entered these nameservers for network.com domain panel. You have to set same nameservers for one.com and two.com domains too.

    Then you will add one.com and two.com domains as add on domain in the same hosting of network.com, and make sure you point them to the network.com wordpress root folder. So that if any one enter one.com or two.com it shows network.com site.

    After that, you will add the domains in corresponding subsites using domain panel plugin, and the mapped domain will start working.

    Now, if you don't own the domains, then you will need a dedicated IP. I know you won't have access to the domain panel of your customers so that you can't set name servers in there. So, you will pass them you IP and they need to set a DNS record for their domain and point to that IP. Only then domain panel will work.

    Hope it helps :slight_smile: Please feel free to ask more question if you have.

    Cheers
    Ash

  • Bryan

    Ashok Thank you for the detailed explanation. I would like to not own the domains which I believe would give more flexibility to my users. I was not aware that I would need a dedicated IP, which is no problem.

    I am currently using shared hosting and can add a dedicated IP for a few dollars a month. My network has not gone live and currently has no users except the super-admin and a couple of test users and sites. At what point in time would it become advantageous for me to move to a dedicated hosting account? If I wait until my network grows, what kind of challenges could I face when switching to a dedicated hosting account?

  • Ash

    Hello @Bryan

    I am currently using shared hosting and can add a dedicated IP for a few dollars a month.

    One thing I want to add with this, when you get a dedicated IP, make sure the IP is pointed to main site. That means, if your main site is http://network.com and IP is 111.111.111.111 in that case if you enter http://111.111.111.111 the main site should be loaded.

    At what point in time would it become advantageous for me to move to a dedicated hosting account? If I wait until my network grows, what kind of challenges could I face when switching to a dedicated hosting account?

    Let me answer the last question first. It should not be any problem to move a site. As long your domain is same, after moving the site in new hosting, you just need to configure the database related information in wp-config.php file.

    Now, when you should move to a dedicated hosting. That depends on your business plan. As you are in shared hosting, you have too many restrictions, limited memory and file counts. So, if you think you may have 50-70 multisite, a good level shared hosting should be good enough. But again, it depends on the plugins you are using. If you BuddyPress, any chat plugin, any integrated business system - these need lots of memory, so your site will be slow in a shared hosting.

    Even if you are in a dedicated hosting your site could be slow if you have hundreds of subsites. Please note that, when a subsite is created, then all tables are recreated for that site. So you will have lots of tables in the database. Here comes our Multi DB plugin: https://premium.wpmudev.org/project/multi-db/ where you can have multiple databases for your multisite so database load is minimized.

    Hope it helps :slight_smile: Please feel free to ask more question if you have.

    Cheers
    Ash

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.