Welcome to Geeklog Saturday, September 19 2020 @ 12:05 pm EDT

Geeklog Forums

2 installs on same server


Status: offline

frrobert

Forum User
Newbie
Registered: 04/02/05
Posts: 2
I was wondering if you could install geeklog twice?

I have two domains on the same server

domain1.com and domain2.com

paths being www/domain1.com/ and www/domain2.com

could both domains have geeklog installed

if they used different DBs and different configfiles like config1.php and config2.php as long as each lib-common.php for each domain pointed to the right config file

with the other files in the www directory being shared

The only glich I see is the log and the data directories being shared.

Has anyone tried this?

Thanks

Fr. Robert

Thanks, Fr. Robert
 Quote

Status: offline

knuff

Forum User
Full Member
Registered: 17/12/04
Posts: 340
Location:Sweden
here you go
Vanrillaer.com - our Family Portal
 Quote

DaveC

Anonymous
cheerful
well, it is up to you but I find it better to keep each site separate.

Install Geeklog, and put in all your plugins, patches, hacks and upgrades.
Use the installer script to build the MySQL database, html root structures etc. Make sure it works.

Then copy everything - the core files, database and html files.
Give the base directories new meaningful names and edit the config files accordingly. Don't forget to change the SQL user names and permissions.

Each site runs independantly and no worries with cross-contamination of data etc.

Of course the downside is you have to update/upgrade each site individually when the time comes.
 Quote

All times are EDT. The time is now 12:05 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content