forward subdomain to subdir, transparently?
Posted by: abobrow
Posted on: 2006-08-16 23:54:00
I know I can forward a subdomain to a subdirectory in my main domain. But is there a way to do this so the url doesn't change? i.e. a user goes to "easyname.mydomain.com" and is forwarded to "mydomain.com/easyname", but their browser still says "easyname.mydomain.com". I believe this can be done with .htaccess, but I've tried a few scripts and can't seem to get it right. Total noob, but willing to learn.