I set up a website: http://example.com
I set up three store fronts that don't exist yet without a problem.
I created the fourth (last) store front http://example4.com
without a problem. This domain is actually a live site that is running on my server at the moment.
Immediately after I click save on the configuration page (changing http://example.com
to http://example4.com
on the base+link urls (secure+unsecure) I get redirected to example4.com
(the live site).
If I try to go to the primary website http://example.com
I get redirected to the live http://example4.com
as well. This prevents me from viewing the primary site and prevents me login into to Magento at all.
If I edit the values in core_config_data
table and clear /var/cache/
I am able to get back to the primary site but trying to configure my 4th store immediately causes the problem again.
Any suggestions? I need to be able to setup this last store in Magento before getting rid of the old site.
Edit : Not sure if it helps anything but changed http://example4.com to example5.com (which is a domain that is parked on top of my the same account that runs example.com). So again I immediately get redirect to example5.com. When I try to goto example.com/admin/ login page I get sent to the magento install/setup system on example5.com.
I have no idea whats going on.