Subdomain forwarding using .htaccess
Posted
by RJ
on Stack Overflow
See other posts from Stack Overflow
or by RJ
Published on 2010-05-08T07:40:54Z
Indexed on
2010/05/08
7:48 UTC
Read the original article
Hit count: 225
I want to redirect a praticular subdomain to the main domain
http(s)://dl.example.com/par1/par2 to http(s)://www.example.com/par1/par2
How to achieve the above using .htaccess
Why i want to do this: Whenever any user download a file from my server, if the file is huge , then user cannot do any other operation until the file is downloaded completely...so the solution that i have thought is to forward the download request through subdomain so that the browser may continue with rest of the operation.
Thanks
© Stack Overflow or respective owner