Mirroring a subdirectory


#1

Hi,

Is it possible to create a subdomain that will mirror a subdirectory only from a fully hosted domain (same user)? For ex. I have http://www.domain.com with the subdirectory http://www.domain.com/subdirectory, and I want to create a subdomain http://subdomain.domain.com to mirror the subdirectory http://www.domain.com/subdirectory.

Regards,

Nicolae


#2

Just create the subdomain pointing to the path of the directory you want to mirror. For instance, if example.com is in /home/username/example.com/, and you want to mirror example.com/blah/, setup blah.example.com pointing to /home/username/example.com/blah/