Ok, what I'm wanting to do is have a domain name resolve to mydomain.com/otherdomain/ WITHOUT having to actually have the first domain multihosted.
In other words, when someone types www.otherdomain.info they would end up at mydomain.com/otherdomain/ and still have the browser showing otherdomain.info. I'm pretty sure there's a way to "fake" multihosting like this with .htaccess, but I don't know it.
I searched the archives and found this:
RewriteEngine on
rewritecond %{HTTP_HOST}
.*otherdomain\.info$
rewritecond %{REQUEST_URI}
!^/otherdomain/
RewriteRule (.*) /otherdomain/$1
However, that didn't work (Internal Server Error when trying otherdomain.com and the error log says /public_html/.htaccess: RewriteCond: bad argument line '%{HTTP_HOST}'
I'm not wanting to actually multihost the other site (I'd rather have a seperate account for it), but the domain is registered and I'd like to at least have it pointing to a "Under Construction" page or something for the time being.


LinkBack URL
About LinkBacks



Reply With Quote
Bookmarks