Magento: Multi Domain Configuration

I have just split my Magento store into two different domains : and

There are a lot of information on internet and you will find below the steps I have follow.

Into the backend, Click on System -> Manage Stores and configure it like this :


Note the Website Name Code for your apache configuration. here photosart.

Remark: Don’t use an underscore character (‘_’) into the code because It will not work. I lost a lot of times due to this mistake.

You will find below an extract of my nginx configuration :

nginxJust defined the MAGE_RUN_CODE and MAGE_RUN_TYPE variables.

And It should work as expected 🙂

Et voila,

Nicolas Portais
Author Photographer



Ce contenu a été publié dans Non classé, avec comme mot(s)-clé(s) , , , , , . Vous pouvez le mettre en favoris avec ce permalien.

Laisser un commentaire

Votre adresse de messagerie ne sera pas publiée. Les champs obligatoires sont indiqués avec *

Captcha (solve the arithmetic equation) * Time limit is exhausted. Please reload CAPTCHA.