I will soon have 1 hosting plan and 3 domain names.
It's possible to redirect every url to a certain subdomein.
I assume like this (in the .htaccess file):
RewriteEngine On
RewriteCond %{HTTP_HOST} ^www.domain2.ext$ [NC]
RewriteRule ^(.*)$ http://subdomain.domain1.ext/$1 [R=307,L]
Now my question, when you type the address http://www.domain2.ext, will it change to http://subdomain.domain1.ext in the address bar? Or will you still see http://www.domain2.ext.
Or another example if you go to http://www.domain2.ext/folder/file.php, will the url change to http://subdomain.domain1.ext/folder/file.php or will it stay like you typed it first?
What I want to know is, will the url in the address bar in your browser change to the 'ugly' url or will it stay as how you typed it.
If it changes, is there a way through mod_rewrite to let it be the "nice" url?
Thanks in adavance.