Hello, I've been lurking for a while trying to sort this out, but now I thought I'd ask..
I have a primary domain registered on Lunarpages (
www.lionsbrooke.com )
I also have another domain name I have registered elsewhere, that had been redirecting to my personal webserver that I have moved onto the Lunarpages account as an add-on domain (
www.crcs-reality.com )
All of that is working at this point . . . However..
The actual lionsbooke.com site is in the "public_html/smf" directory
The actual crcs-reality.com site is in the "public_html/crcs-reality" directory.
I have the add-on domain set up right in cpanel, and both sites resolve and function correctly, but I'd like them to appear as only the domain name in the address bar when navigating the sites.
When navigating lionsbrooke.com, the address bar shows "
http://www.lionsbrooke.com/smf" and when navigating crcs-reality.com the adress bar shows "
http://www.lionsbrooke.com/crcs-reality"
Now, I know this can be done with a bit of tweaking of my .htaccess files, but I am at a loss on how to make it work. I've been working at it for a couple days and always end up rendering the sites offline until I restore my 'working' .htaccess files (thank god for backups!)..
The .htaccess file located in "public_html" contains:
AddHandler application/x-httpd-php5 .php5 .php4 .php .php3 .php2 .phtml
AddType application/x-httpd-php5 .php5 .php4 .php .php3 .php2 .phtml
RewriteEngine on
RewriteCond %{HTTP_HOST} ^.*$
RewriteRule ^/?$ http://lionsbrooke.com/smf/ [R=301,L]
And the .htaccess file located in "public_html/crcs-reality" contains:
RewriteEngine on
AddHandler application/x-httpd-php5 .php5 .php4 .php .php3 .php2 .phtml
RewriteCond %{HTTP_HOST} ^crcs-reality.lionsbrooke.com$ [OR]
RewriteCond %{HTTP_HOST} ^www.crcs-reality.lionsbrooke.com$ [OR]
RewriteCond %{HTTP_HOST} ^www.crcs-reality.com$
RewriteRule ^/?$ http://www.lionsbrooke.com/crcs-reality/ [R=301,L]
Yes, I realize there is probably stuff in there I don't need......

Any guidance on how to modify these files to work the way I want?
I'd like all navigation within crcs-reality.com to show "
http://www.crcs-reality.com" in the address bar, and all navigation within lionsbrooke.com to show as "
http://www.lionsbrooke.com"
Thanks in advance !