I'm setting up a pretty complex site with a lot of API handling. Now that site needs to have 1 installation and 2 websites on 2 domains. I'm not sure how this works with Magento.
What i have now
So have i created my 2 websites within Magento and i have adjusted each website to have a different base and secure url. Lets say domain 1 is domain1.com and domain2 is domain2.com.
I also have the 2 domains forwarded over A records to the same IP from the installation. So lets say the IP for example is 188.8.131.52 then i have both domains (domain1.com and domain2.com) set up to navigate to 184.108.40.206.
Now when i surf to this domain1.com i get to see domain1.com. When i surf to domain2.com (that i added later in the installation) it seems to still redirect to domain1.com
My question , how would one set this up?