Our company is moving it's in-development websites over to a new server on Rackspace using Ubuntu 12.04 LTS and NGINX. The transitions went smooth except for one particular Magento site.
This Magento client's site was previously developed (not by us) with a two store front (same Magento install): first store with a Wordpress integration and the other secondary Magento store alone. The client came to us to separate and take down the first store leaving the Worpress as one website and the other as the the main Magento store (from the secondary store).
In the original development server before we migrated, I was able to successfully accomplish this and both websites functioned on their own as expected. However, after the migration of this Magento site (both database and files), the Magento site loads with the 1st original store (store 1) and not with store 2 as the main store, even though store 2 was set was default in the Manage Stores configuration settings.
- The store two was set a 'default' in the configuration.
- Files, folders, and databases are exactly the same
- Subdomains and domain names are exactly the same
- Cache was cleared
Key Differences on the servers
Original Test Server
- OS: CentOS release 5.10 (Final) 64 bit
- Apache: Apache/2.2.22 (Unix)
New Test Server
- OS: Ubuntu 12.04.4 LTS 64 bit
- NGINX: nginx/1.1.19
Why would the exact same Magento website load the correct store (store 2) but load the incorrect store (store 1) on a different server?