Replicated Site Help Please

11 replies
I hope that I can explain this in an understandable way.

I would like to know how to accomplish this goal. We have all see this set up and I want to make it work on my site.

When someone signs up for my site they will be issued their own URL. That URL is then sent to them in an email, along with their login information, which they can change when they login. They can also upload a picture and a few other things.

Basically it is becoming a replicated website that is personalized by the user.

Does anyone know if there is a plugin or what I should use to accomplish this.

Thanks for your help.
#replicated #site
  • Profile picture of the author wayfarer
    Are you talking about a dynamic sub-domain? (IE sites.google.com, but with a variable where "sites." is). If so, this takes custom configuration on the server, so highly doubtful any plugin would be available for doing this. Probably you'll just have to find a programmer that understands Apache configurations and go from there.
    Signature
    I build web things, server things. I help build the startup Veenome. | Remote Programming Jobs
    {{ DiscussionBoard.errors[8768544].message }}
  • Profile picture of the author David Beroff
    There may very well be a pre-written script to do this, but you could also do it with PHP and MySQL.
    Signature
    Put MY voice on YOUR video: AwesomeAmericanAudio.com
    {{ DiscussionBoard.errors[8768546].message }}
  • Profile picture of the author Original Hosting
    I think the best way would be to create directories rather than sub domains, that way you could use PHP and MySQL to achieve the result which you require.
    Signature

    Jordan D - Original Hosting
    UK Shared Hosting ~ cPanel ~ Softaculous
    100% UK Based Support and Servers

    {{ DiscussionBoard.errors[8768596].message }}
    • Profile picture of the author David Beroff
      Originally Posted by wayfarer View Post

      Are you talking about a dynamic sub-domain? (IE sites.google.com, but with a variable where "sites." is). If so, this takes custom configuration on the server....
      Originally Posted by Original Hosting View Post

      I think the best way would be to create directories rather than sub domains, that way you could use PHP and MySQL to achieve the result which you require.
      Agreed, directories will be easier than subdomains. And you want to present them dynamically, i.e., don't physically create a new directory for each user, but rather use a single script to make it appear that you have multiple directories.
      Signature
      Put MY voice on YOUR video: AwesomeAmericanAudio.com
      {{ DiscussionBoard.errors[8768703].message }}
      • Profile picture of the author Bizilica
        Originally Posted by David Beroff View Post

        don't physically create a new directory for each user, but rather use a single script to make it appear that you have multiple directories.
        Yes, subdirectories can easily be used in a virtual way, with .htaccess rewrite rules. You can do this on shared hosting as long as they have mod_rewrite installed in apache.

        To do it with subdomains, you need to configure the web server to allow for wildcard domains. This means that you need your own server, not enough with a hosting account.
        {{ DiscussionBoard.errors[8768845].message }}
        • Profile picture of the author mobilesuccess
          Originally Posted by Bizilica View Post

          Yes, subdirectories can easily be used in a virtual way, with .htaccess rewrite rules. You can do this on shared hosting as long as they have mod_rewrite installed in apache.
          Can anyone please point me towards a solution/script/developer for creating replicated websites from my domain, where new members get a www.mysite.com/username that they can personalize with a photo, bio, etc.
          {{ DiscussionBoard.errors[8907422].message }}
          • Profile picture of the author ussher
            Originally Posted by mobilesuccess View Post

            Can anyone please point me towards a solution/script/developer for creating replicated websites from my domain, where new members get a www.mysite.com/username that they can personalize with a photo, bio, etc.
            Take a look at jamroom.net it seams close to what your after.

            the jamroom.net system is running on jamroom.net so you can see what its like:

            eg:
            Marketplace - n8flex | Jamroom
            Forum - The Jamroom Network | Jamroom

            The first profile is for a developer called "n8flex" the second one is for the developer called "The Jamroom Network"

            Adding module adds different features to the users profiles.

            The two profiles above are in the "developers" group so they each have
            * blog
            * documentation
            * forums
            * bundles
            * sites
            ..... etc

            but if the user is not in the "developers" group they have different stuff:
            eg:
            https://www.jamroom.net/andre1122

            has:
            * blog
            * jobs
            * site.

            It can be setup in many different ways. Take a look at the demos
            https://www.jamroom.net/demos

            and the showcase to see if it fits your needs:
            https://www.jamroom.net/showcase

            If it looks like what your after, there is a getting started course on udemy.com here:

            "Start Your Own Online Community"
            http://udemy.com/start-your-own-online-community
            Signature

            "Jamroom is a Profile Centric CMS system suitable as a development framework for building entire communities. Highly modular in concept. Suitable for enterprise level development teams or solo freelancers."

            - jamroom.net
            Download Jamroom free: Download
            {{ DiscussionBoard.errors[8908692].message }}
  • Profile picture of the author Joe Crosbie
    Hey @jeverette,

    The others are right, you could do this via raw PHP and MySQL. That's a lot of work though and would require a lot of knowledge on the coding languages..

    Have you heard of WordPress multisite?

    It's basically where you can have multiple sites running of one WordPress installation, they all have their own dashboard so all content is separate.

    You can learn more about it here in the codex.

    What you're trying to achieved could easily be done through WP Multisite, and could easily be added upon with the help of the plugins available from WPMU Dev (They make plugins specifically for WordPress Multisite and BuddyPress, and themes too!..

    I hope this helps and be sure to ask any questions you might have - I've used Multisite on a previous projects and I really like it!

    - Joe Crosbie
    Signature
    I chose entrepreneurship over further education despite being laughed at by my friends and family..

    I recently hit the "RESTART" button on my life, read my personal blog to find out how I did it :)
    {{ DiscussionBoard.errors[8912648].message }}
  • Profile picture of the author vaghela dev
    Hello sir,

    Send me you link on my mail id so i have to check it and resove it []opensoursestarter@gmail.com[]

    regard
    vaghela Dev
    {{ DiscussionBoard.errors[8915828].message }}
    • Profile picture of the author David Beroff
      Originally Posted by vaghela dev View Post

      Send me you link on my mail id so i have to check it and resove it []opensoursestarter@gmail.com[]
      Huh?

      I've read this several times, and still have no idea what it means.
      Signature
      Put MY voice on YOUR video: AwesomeAmericanAudio.com
      {{ DiscussionBoard.errors[8915963].message }}
  • Profile picture of the author MonopolyOnline
    Try this 404 redirect trick - 404error.php

    I develop and run a "Do It Yourself" website service which has produced over 17,000 websites using this technique.

    A little programming background.

    When a visitor goes to a webpage that does not exist, the server returns a static 404 error webpage - 404.html - "Page does not exist".

    So if at facebook.com there was a member with a username of hottiebody, going to...

    hottiebody.facebook.com

    ... the server would generate a 404 error and redirect to 404.html...

    hottiebody.facebook.com/404.html

    We use this built-in 404 system to parse and find the username by tweaking the "404" response page not to "404.html" but to a page "404error.php" page (in my case 404error.cfm - we use Adobe ColdFusion).

    This can be done with .htaccess...

    RewriteEngine On
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule (.*) /404error.php?%{REQUEST_URI}


    Once the 404error.php page is loaded it does a couple things:

    1. Make the url the username

    thisUsername = CGI.HTTP_HOST
    thisUsername = hottiebody.facebook.com

    2. Strip out the base domain

    thisUsername = Replace(thisUsername, ".facebook.com", "")
    thisUsername = "hottiebody"

    3. Database lookup on username

    NAME getUser
    SELECT *
    FROM users
    WHERE username = 'hottiebody'

    4. Redirect depending on database look up

    if database lookup getUser is successful
    ... display index.php using 'hottiebody' user info
    elseif database lookup getUser is NOT successful
    ... display index.php using main website's info along with a "Oops can't find hottiebody" alert message.
    ... (in other words we never display the static 404.html)
    end



    So finally if the database search on 'hottiebody' is successful...

    hottiebody.facebook.com

    ... would display hottiebody's profile page.

    Since you (and myself) are doing websites...

    hottiebody.jeverett.com

    ... would display hottiebody's homepage.

    By using this technique you DO NOT Have to replicate your entire website within subdomains and/or subdirectories like...

    jeverett/public_html/index.php
    jeverett/public_html/images/logo.png

    hottiebody/public_html/index.php
    hottiebody/public_html/images/logo.png

    dangerman/public_html/index.php
    dangerman/public_html/images/logo.png

    ... for each user/member/client. With this technique everything is dynamically produced within one directory...


    hottiebody.jeverett.com
    dangerman.jeverett.com

    jeverett/public_html/index.php
    jeverett/public_html/images/logo.png


    I hope this helps.

    P.S. This is just a basic concept. You will need to modify it to your needs.

    We allow members to setup their own domain names, so we also do database look ups on the user/client/members domain_name allowing hottiebody to have a custom website.
    {{ DiscussionBoard.errors[8988383].message }}

Trending Topics