Drupal not working with parked domain

70 views
asked May 3, 2012 in General by carebare (1,420 points)
Hi all,
I cannot log into my Drupal CMS application using parked domain, when I put my username and password nothing happens.
how can I fix this?
Please help

2 Answers

0 like 0 dislike
answered May 3, 2012 by FixHost (12,380 points)
Try deleting all cookies and clearing your browser’s cache.
0 like 0 dislike
answered May 3, 2012 by expert (14,380 points)
hi there

change the following line in the sites/default/settings.php file:

$cookie_domain = 'yourdomain.com';

to

$cookie_domain = $_SERVER['HTTP_HOST'];

This will send the proper cookie information, matching the domain name you have used to access it.
...