This is an old post. The information it contains is probably out of date or innacurate
This is a post that was written a long time ago and is only being kept here for posterity. You should probably look up more recent blog posts related to the subject you are researching
One of the really cool features of Magento is the ability to easily setup a multistore on one installation of Magento. If you have never done it before though it can be a little tricky.
Here is very brief guide:
First create the stores. This is all done via the Magento administration.
foreach store that you want, create a website, store and store view. Make a note of the codes as you need those in the code below.
Then in your index.php file have some code like this:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24