I have a Magento installation running having two websites by using sub domain for each The structure is Like follows
Website 1 (Default)
store view 1
store view 2
URL: nz.beautyhq.testpad.com.au This structure is working perfectly,
Now i need to create beta versions of them which have to have the base url from different url I have created the new websites
- Beta Website 1 -> URL : beautyhq-aus.domain.com.au
- Beta Website 2 -> URL : beautyhq-nz.domain.com.au
And created the directories(Including index.php and .htaccess with necessary changes) on Magento root according to the codes of new websites.
The new domain is from a different server and is pointing to the IP of the server hosting my Magento installation.
Now when I set the base URLs of these websites, it redirects to the default one, but if I change the base URL to
beautyhq.testpad.com.au/aus_beta/, it works perfectly.
I have tried the solution for pointer domains by modifying the .htaccess and using
RewriteCond by referring this link
But it does not work.