Home
/
Other Applications
/
How to configure Drupal to work with parked domains?

How to configure Drupal to work with parked domains?

If you cannot log into your Drupal application using your parked domain, change the following line in the sites/default/settings.php file:

$cookie_domain = ‘yourdomain.com’;

to

$cookie_domain = $_SERVER[‘HTTP_HOST’];

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

Share This Article