I want that that, when I navigate to


the displayed contents are actually the ones of


but without changing the URL.

I tried different configurations of .htaccess but no one of them seems to work.

The reason why I need that is because I put my store in the server under www/subdirectory instead than in www directly. Which is the usual way to proceed? I did it this way because I want to keep my directories clean.

Any ideas on that? Any help is much appreciated.


1 Answer 1


Have you tried using virtualhost configurations? This is a very common directory structure. Its super common that we install Magento in a location other than www/html

Refer http://inchoo.net/magento/administration-magento/create-windows-virtual-hosts-for-your-magento-projects/

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.