One of the many features of Magento is the ability to run multiple websites, stores and views all off of the same code base. In other words that means you can have several completely different e-commerce sites all sharing the same code base. But the question is how do you set up the multiple domains to point to each store view? In this tutorial I'm going to show you how to do just that. I am assuming that your Magento install is already set up and that you are using at least version 1.7 for this tutorial to work. Note that version is very important because the methods to this are different on older versions of Magento.
But wait I only have 1 store why would I want to do this?
If you want to test out any changes, theme modifications, code modifications, widgets or anything else that can impair the functioning of your store a development site is the best way to test our your changes first. That way if you "break" your test store the main store is still functioning.
For example I have 2 stores:
- store.aandgwebtech.ca (Main site)
- dev.store.aandgwebtech.ca (Develoment site)
The first thing that I did was to search for "Magento multi site set up" and found these tutorials: