1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

how can I run 2 or more websites with one database?

Discussion in 'Content Management' started by casanova09041986, Dec 12, 2009.

  1. #1
    I want to create multiple websites but with one database only. I meant that I just need to update content to one website and they are automatically update to other websites. can some one show me how?

    Thanks a lot
     
    casanova09041986, Dec 12, 2009 IP
  2. aquilax

    aquilax Member

    Messages:
    126
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    33
    #2
    Just use the same settings for the database connection.
     
    aquilax, Dec 13, 2009 IP
  3. renkosr

    renkosr Peon

    Messages:
    5
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Yes, use the same settings with different prefixes
     
    renkosr, Dec 14, 2009 IP
  4. glorykid

    glorykid Active Member

    Messages:
    34
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    91
    #4
    Change the database prefix. For example my database prefix might be demo_ change it to Real_. Get what I am saying
     
    glorykid, Dec 15, 2009 IP
  5. necroz

    necroz Peon

    Messages:
    25
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    That's called multisiting, and should be dealt with depending on your exact needs. Some CMSs, like Drupal, allow it out of the box. It may work both with single database, and with different databases, depending on setup.
     
    necroz, Dec 16, 2009 IP