Creating a development site on subdomain with live site

I need to have a copy of my live site install in a subdomain called dev.mydomain.com. But when I connect to that subdomain, the site shown is the one at the main domain, although the URL contains the subdomain.

I imagine I need to properly configure the .htaccess files.

Can anyone help me with the right configuration?


Go to Source of this post
Author Of this post: jmzea
Title Of post: Creating a development site on subdomain with live site
Author Link: {authorlink}