How do I get Multi-domains to work with stand-alone domains

I want to set up the multi-domains plugin to work with stand-alone domains e.g. mysite.com.

I have the plugin working with sub-domains with Wordpress Multisite setup to use sub-domains as specified in your usage documentation. "Multi-Domains is for sub domain installations only and will not work well for subdirectory installations."

When I try to setup a site after adding a new domain I still have to specify a name otherwise the form won't validate. So instead of getting http://mysite.com I get http://name.mysite.com. I've tried to get around this by add www as name so that I get http://www.mysite.com and as you've probably guessed this doesn't work.

http://mysite.com redirects to multi-site sign up page

http://www.mysite.com will give me an error 500

However http://www.mysite.com/readme.html will display the contents of the read me.

  • Jack Kitterhing
    • Code Norris

    Hi there @webdevworld,

    Hope you're well today and thanks for your question.

    You clarify what your trying to do with this, did you want to register TLD (top level domains) such as mysite.com using Multi-Domains.

    Multi-Domains is designed for use with sub domain multisite installations, whereas normally users can only choose a site.yoursite.com address, but using Multi-Domains you can add say site2.com and then users could register a sub site as site2.com and/or yoursite.com

    Thanks!

    Kind Regards
    Jack.

  • webdevworld
    • WPMU DEV Initiate

    Hi, thanks for the response.

    Yes I want to use top level domains and at the moment as mentioned above I, just need to use the top level domains for any new sites created by users without them becoming a sub site of.

    I want to use http://www.mysite.com instead of using http://name.mysite.com.

    On The documentation for Multi-Domains the screenshots and examples you use demonstrate the set up process, it shows adding a top level domain and adding a site without it being a sub site and it also seems like the Multisite in the documentation is using subdirectories rather than sub domains.

  • Jack Kitterhing
    • Code Norris

    Hi there @webdevworld,

    Hope you're well today and thanks for the additional information.

    Multi-domains can't do this out of the box, a user can't pick a domain from the domains added to use.

    It still becomes a sub site, it's so they can register a sub site at a different domain.

    If you want to achieve this, you could try our Domain Mapping plugin with our WHMCS MU provisioning plugin, to provision the domain at signup :slight_smile:

    Thanks!

    Kind Regards
    Jack.

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.