How do I get the Membership Pro 2 registration to create a new subdomain site?

I’m setup and able to create a new *subdomain site from the root domains admin dashboard eg ( Problem is that when a new user registers through the Membership 2 registration only a subsite account is created eg ( What I need it to do is create a subdomain eg ( How would I go about doing this? I’ve searched for the solution on here with no luck.

Much appreciated,


  • Vinod Dalvi
    • WP Unicorn

    Hi Donnie,

    I hope you are well today and thank you for your question.

    I am not sure whether you wan to create a sub domain site automatically for the user on user account creating or allow users to create it manually when they register on your site.

    If you want to allow users to create it manually then just make sure to allow site creation on your multisite network settings as shown in the attached screenshot.

    If you want to create a site for the user automatically then please try using the solution posted in the following thread.

    Best Regards,

    Vinod Dalvi

  • Donnie
    • WPMU DEV Initiate

    Thanks Vinod,

    I will will try the script from the thread you recommended and report back.

    My goal is to have the subdomain site automatically created on registration and the site pre populated using a template, I will be offering a domain name purchase during the registration thus the need for the subdomain to be setup automatically. Once their profile page is setup sort of like FB or About Me except they will have the option to purchase extra services and disk space. Just hope I’m headed in the right direction here :slight_smile:

    Your time is greatly appreciated….


  • Donnie
    • WPMU DEV Initiate

    Correction: been having a lot of problems with my host server with WordPress. The ability to manually create the subdomains through registration is now working through Network Settings by selecting “Both sites and user accounts can be registered” and with the Pro Sites plugin. Neither were working when I posted, for some odd reason they kicked in……. I’m new to this so it had me a bit confused :slight_smile:



Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.