0
Welcome Guest! Login
0 items Join Now

2 Sites on Same Server

    • DavidB's Avatar
    • DavidB
    • Newbie
    • Posts: 7
    • Thanks: 0

    2 Sites on Same Server

    Posted 16 years 7 months ago
    • If I want to run two Joomla sites on the one (my own ) server, do I need to have two different Database Prefixes?

      To explain further...

      I have my own unix server (Apple).
      Two websites... red.example.com and blue.example.com, with their own home folders... /Library/WebServer/red & /Library/WebServer/blue.

      So... should I have the Database Prefix for one of them changed away from default jos_ ?
      If so, should I do this at initial configuration or can I just change one of them afterwards in the administration Database Settings?

      Thanks!
    • Robert W's Avatar
    • Robert W
    • Elite Rocketeer
    • Posts: 815
    • Thanks: 0
    • IT

    Re: 2 Sites on Same Server

    Posted 16 years 7 months ago
    • I would create two separate db's instead of changing the prefixes. This will give a lot less headache in the event you run into any issues, db corruption, etc.
    • DavidB's Avatar
    • DavidB
    • Newbie
    • Posts: 7
    • Thanks: 0

    Re: 2 Sites on Same Server

    Posted 16 years 7 months ago
    • Thanks for reply. Excuse my next newbie question... how does one make two databases? I presume this is a mysql server config and not something one does in Joomla? If so, I guess that's the next thing for me to start reading up on :-)

      The reason for the two websites was just so that I had a parallel one running with the stock template content, for comparison purposes whilst learning my way. So if I stick with just the one db just now, I presume I DO need to change the prefix?
    • Robert W's Avatar
    • Robert W
    • Elite Rocketeer
    • Posts: 815
    • Thanks: 0
    • IT

    Re: 2 Sites on Same Server

    Posted 16 years 7 months ago
    • yes, one db means you'll want to change the prefix. to set up another db, you'll need to do that through your web host control panel via mysql.

Time to create page: 0.064 seconds