I've got a domain (let's say www.shop.com) and a subdomain (for example test.shop.com).
On www.shop.com is a normal webshop, and I want the same shop on my subdomain without having to copy all files to my subdomain.
So when someone visits my subdomain he sees the same shop, but with the url of the subdomain.
I know this can be done with a rewrite rule, but I don't know how
Can someone help me?