CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • Dual Domain Name Problem
Pages: [1]

Author Topic: Dual Domain Name Problem  (Read 1171 times)

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Dual Domain Name Problem
January 09, 2010, 02:44:24 pm
I have a Drupal 6 / CiviCRM 3.0.3 site which needs to now support a second domain name. What I mean is that we have a name like dog.org, let's say, and now we need to have a new domain like poodle.org. I have poodle.org working insofar as I set it up on the (dedicated RHEL) server as a symlink to dog.org meaning

/var/www/vhosts/poodle.org is a symlink to /var/www/vhosts/dog.org

The Drupal part of the site works fine when accessed as poodle.org but all CiviCRM pages give WSOD. I see no errors in either poodle or dog error logs however. I tried creating unique settings files for the poodle site in sites/poodle.org (and I set CIVICRM_UF_BASEURL to poodle.org) but that doesn't seem to help. It seems like there may be a permissions problem executing a CiviCRM PHP file, as that problem can generate WSOD with no Apache error, but I'm not sure how to determine for sure what the issue is.

Any suggestions how further to debug this?
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Dual Domain Name Problem
January 09, 2010, 08:35:17 pm

there has to be an error logged in some log file somewhere, u might want to check a bit more

civicrm keeps a bit more site specific information in various config files / settings / menus etc, and hence the symlink might not work, IMO

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Dual Domain Name Problem
January 10, 2010, 07:13:27 am
Quote from: Donald Lobo on January 09, 2010, 08:35:17 pm
there has to be an error logged in some log file somewhere, u might want to check a bit more

You were correct. I found an error in /var/log/messages

The problem was safe_mode and open_basedir. Plesk can't handle this setup (my symlink) but adjusting the Apache conf files manually worked. It took a bit of time, but it would appear that this setup is now working. I see the event registration page for each domain name and so, pursuant to further testing of course, it appears to work.

Thank you.
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • Dual Domain Name Problem

This forum was archived on 2017-11-26.