I was looking around in the FAQ and search but could not find an exact answer. I'm very new to .htaccess and this is the first site where it seems not only parts of the commands are included in which make me happy.
My request is very simple:
i setup a subdomain on both, domain and hosting level, it all works ok. i just would like to see subdomain.domain.com in the address bar too and not the path I redirected it to. If possible, all pages under this subdomain should appear the same way (i.e.: subdomain.domain.com/contactus.html and not domain.com/folder/folder/contactus.html). As you can see I use .html and don't know anything about php (but I guess it's not needed here).
The domain provider wants to sell me masking, but if .htaccess can do it, why would i pay for it? Although, the fact that they offer this service may also mean that i cannot use .htaccess but as the basic mod_rewrite test was successful, I was thinking the masking service is sold to people who don't bother searching for the solution...
Your help is much appreciated as I was searching through the internet for this answer but could not find anything that really worked.
Thank you very much in advance.
Have a wonderful weekend everyone!
![;)](./images/smilies/icon_wink.gif)