Hi,
Sorry if this has already been asked but I honestly can't find it using search...
I want to do the following if it is possible:
When a user goes to http://subdomain.domain.com (with or without "www") for it to load otherdomain.com/data but still keep subdomain.domain.com in the address bar.
subdomain.domain.com >> otherdomain.com/data but with subdomain.domain.com in the address bar - is this possible?
Any help appreciated.
I have this so far:
RewriteEngine on
rewritecond %{REQUEST_URI} http://subdomain.domain.com/
rewritecond %{REQUEST_URI} http://www.subdomain.domain.com/
rewriterule (.*) http://otherdomain.com/data/$1 [l,nc]
But otherdomain.com/data appears in the address bar.