I am setting up a second website on my magento system. Eventually this will have its own domain name and be hosted in my main magento installation.
To allow me some time to finalise the domain name and test some themes I would like to set up the new website under my "dev" magento as a SECOND WEBISTE. (ie run multiple websites with a common backend)
I have been reading various websites to get information and I have done the following. 1. Installed a new theme "diyalarms" (copied the current theme from my current website with a new name of "diyalarms" from origial theme files I purchased)
Created a new Website, Store, View with the code "diyalarms"
Under General/Web I - 1. Changed scope to diyalarms, 2. changed unsecure & secure urls to diyalarms.ozfitsports.com.au and unchecked use defaults.
In Cpanel created a new subdomain diyalarms.ozfitsports.com.au and pointed to /dev
Added the following to index.php
switch($_SERVER['HTTP_HOST']) { case 'diyalarms.ozfitsports.com.au': $mageRunCode = 'diyalarms'; $mageRunType = 'website'; break; }Under System/design created a Design for View "diyalarms" by selecting theme from dropdown box.
Typing in diyalarms.ozfitsports.com.au open with what appears to be the "default" magento theme, not the theme "diyalarms" which should look the same as "ozfitsports.com.au" which is where I copied the theme from.
I have spent 6hrs searching the web and can't seem to find anything that I havnet already done.
I woudl really appreciate any suggestions as to what I have done wrong or have missed. I am using magento ce 1.6.1
Thanks