Try the Demo

Magento Forum

   
Does the caching system support multiple domains parked on top of Magento? 
 
Magnus Wester
Member
 
Avatar
Total Posts:  42
Joined:  2007-09-02
Stockholm, Sweden
 

I have parked a secondary domain on top of the Magento domain. I have hard-coded the Unsecure Host and Secure Host for the new domain to contain the domain name. This causes all links in the secondary domain to work OK.

However, the demo site running off the native domain doesn’t work anymore. It loads the front page, but all links now use the secondary domain name. The default Unsecure/Secure Host is {{host}}. This variable is not set from $_SERVER - where do you set it from? Is there a simple way for me to set the {{host}} variable to $_SERVER[’HTTP_HOST’] or at least use the correct domain name for each store?

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top