Using Drupal 5.2, PHP 5.2.3, and MySQL 5.0.41. My site's domain name is www.nonprofitcongress.org. It is also accessible at http://74.200.217.218/~nonprofi/, where it was set up before the DNS was directed and resolved. Going to either address seems to pull up exactly the same site.

I've noticed that going from one to the other seems to act as if going to a fresh site requiring you to login again. Ordinarily, I would just ignore this since the site seems to work the same and almost no one will happen upon the numbered site.

The issue really comes in relating to my use of CiviCRM (and I have cross-posted this on the CiviCRM forums too, just in case the issue lies there, rather than with Drupal). CiviCRM works fine at 74.200.217.218, but not at nonprofitcongress.org. It starts throwing Smarty errors regarding directory write access. Also, the custom profile fields from Civi that should appear in the site registration form do not appear.

Any idea why this one site seems like two separate sites? Or how to bring them together?

Comments

cog.rusty’s picture

They behave as separate sites because they produce different cookie domain names for their sessions.

There is a $cookie_domain variable which you can set in settings.php which is used, for example, to make subdomain.example.com seem the same as www.example.com by setting $cookie_domain='example.com'; for both, but I don't think it can work accross different domain names.

So, I don't have an answer. Can't you just abandon the numeric one?

Could your CiviCRM problem be caused by some explicit setting you have made containing the numeric IP? What exactly do the Smarty errors say?