My objective is to find out how to point a subdomain to an existing domain subdirectory.
points to htdocs/domainname/ as the root directory
I created a subdomain, subd.domainname.com by creating an A record for subd.domainname.com pointing to the IP address for domainname.com
I created a subdirectory htdocs/domainname/subd and I want the subdomain subd.domainname.com to point to the subdirectory (but still show subd.domainname.com in the address bar)
The host operator says I must use MOD_rewrite to do this.
The current setup uses a Virtual Private Server running FreeBSD and Apache Web Server with mod_rewite enabled. the httpd.conf file points www.domainname.com
and domainname.com to the document root htdocs/domainname/
I would greatly appreciate keeping in mind that not only am I at a novice level, I have cognitive deficits. [You would be surprised how good web related projects are as therapy; they teach and reinforce logical step-by-step thinking. For someone such as myself, who was once a highly educated professional, learning to do this is a challenge. I try to find out first what to do, then learn from doing it. Thank you in advance.]