Knowledge Base Article

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.



Rating

Please indicate if this article was helpful for you.

rating :  4.2 from 5
views :  1769
votes :  14

Related Articles

Views

Haven't found what you are looking for? Suggest an article HERE.

powered by

Valid XHTML 1.0 Strict Valid CSS!