Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email

Magento Forum

1 Magento install met 2 domeinen (incl. een subdomain) op shared hosting
Jr. Member
Total Posts:  5
Joined:  2012-03-08

Hi allemaal,

Even een copy-paste vanuit het Engelse forum, omdat daar onnoemelijk veel spamberichten opkomen, dus deze post verdwijnt direct onderaan.  Ik ga ervan uit dat Engels “no problem” is grin

Thanks voor jullie hulp.

I am trying to setup 2 shops on 1 Magento install on a shared hosting.
One is at which is working fine.
The other is at which is not working fine.

The website is supposed to stay at the current server, so only is directed to the Magento install.

I have modified the BASE URL to both :

In domain configuration, both (primary on that server) and parked (sub)domain are pointing to the public_html folder where Magento is installed.

The .htaccess file is modified as follows.

RewriteEngine on
# Use PHP5 Single php.ini as default
AddHandler application/x-httpd-php5s .php

SetEnvIf Host www\.chillafishfad\.com MAGE_RUN_CODE=chillafishfad_com
SetEnvIf Host www\.chillafishfad\.com MAGE_RUN_TYPE=website
SetEnvIf Host ^chillafishfad\.com MAGE_RUN_CODE=chillafishfad_com
SetEnvIf Host ^chillafishfad\.com MAGE_RUN_TYPE=website

SetEnvIf Host shop\.chillafish\.com MAGE_RUN_CODE=shop_chillafish_com
SetEnvIf Host shop\.chillafish\.com MAGE_RUN_TYPE=website
SetEnvIf Host ^chillafish\.com MAGE_RUN_CODE=shop_chillafish_com
SetEnvIf Host ^chillafish\.com MAGE_RUN_TYPE=website

RewriteCond %{HTTP_HOST} ^shop\.chillafish\.com$ [OR]
RewriteCond %{HTTP_HOST} ^www\.shop\.chillafish\.com$
RewriteRule ^/?$ “http\:\/\/www\.chillafishfad\.com” [R=301,L]

The last part was added automatically (I redirected to to see if it gets into that folder).

One is working.  For the other I get a standard bluehost screen, looks like the domain is not going to the right directory.

Anyone has a clue how to set this up ?
I have checked most posts about this, but usually it’s about 2 main domains instead of subdomains, or on a dedicated server, etc.


Magento Community Magento Community
Magento Community
Magento Community
Jordy van Overeem
Total Posts:  43
Joined:  2010-10-06


Waar heb jij jouw hosting lopen?

Wij doen dagelijks installeren van multistores. Wanneer gewenst wil ik hier gerust naar kijken.
Mailen kan naar

Met vriendelijke groet,

Jordy van Overeem

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