dannymcc
dannymcc

Reputation: 3814

Magento multiple stores on one server?

We have a Magento commerce store with a database of around 700 products. The store has one URL and one theme. It doesn't have any other language versions or anything like that.

I am looking into our options for having a new URL for a second company (all under one company umbrella) with a different theme. So essentially there would be one database in use by two Magento stores with different themes.

originalstore.com
newstore.com

Is this possible with the Community edition?

Also, if it is possible can the newstore.com have different prices for the same products as originalstore.com?

Any help or suggestions would be gratefully received!

Upvotes: 0

Views: 1479

Answers (1)

Josh
Josh

Reputation: 2820

You can add new websites in System -> Manage Stores. Websites can have separate configurations and products and still be in the same database. After you've added the website, you can make magneto auto load it by adding this to your .htaccess:

RewriteCond %{HTTP_HOST} ^newstore.com
RewriteRule ^ - [E=MAGE_RUN_CODE:yourNewStoreCode]
RewriteRule ^ - [E=MAGE_RUN_TYPE:website]

Upvotes: 5

Related Questions