PDA

View Full Version : Error when using same database for 3 domains


tadisaus2
12-15-2006, 02:34 AM
Hello,
I have 3 domains and same host, I tried to use the exactly same db on these 3 domains, but some errors occur. I just uploaded all files for 3 domains and created ONLY 1 db. But some minor errors occurred.
Whenever I click on Home or Main title page before categories (ex. Esyndicate Directory/category), then it points back to the main domain that I configured when installed.
How do I change to make it point to each specific domain when clicking on the Home or Main title page? I remmebered someone already showed on this forum to change something on the index page but I could not find it.

Can you help please?

Thanks.

John Turner
12-15-2006, 06:22 AM
Hi tadisaus2,

Open your Admin Panel » Configuration » General Configuration
You need to edit following field values:
Base URL to script
Path in filesystem to script
Directory where eSyndiCat is installed

Hope it helps.

tadisaus2
12-15-2006, 03:19 PM
I already tried to change on Base URL to script (using index.php, instead of the url) and Path in filesystem to script, then, the directory won't work.

Looked like we can't use the same database for multiple domains on eSyndicate script.

Thanks.

Bryan Ex
12-15-2006, 03:38 PM
tadisaus2 ... it can be done but it would be a HUGE job. The problem is that the base directory, site URL, etc are all contained in the database so you would have to go through every file and remove the config variable and replace it with a hard coded link. Would domain masking or fowarding work as an alternative? I can't see having three exact duplicate directories only on different domains being worth the time it would take to hard code the links in every file.