1

I have a Magento installation running having two websites by using sub domain for each The structure is Like follows

Website 1 (Default)
store 1
store view 1
URL: aus.beautyhq.testpad.com.au

Website 2
store 2
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

  1. Beta Website 1 -> URL : beautyhq-aus.domain.com.au
  2. 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 SetEnvIf and RewriteCond by referring this link But it does not work.

Teja Bhagavan Kollepara
3,8275 gold badges33 silver badges69 bronze badges
asked Mar 12, 2015 at 4:57

1 Answer 1

1

Got the Solution, Not sure if its the best, but it works, Added to addon domains same as the pointer domains and assigned them root directories of beta stores, and it worked.

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.