How to configure Drupal to work with parked domains?

If you cannot log into your Drupal application using your parked domain, you should 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.

You find this article useful? Click here to learn more about SiteGround web hosting experts and what else we can do for you!