How can I let my server load (invisibly!) somepage.htm, when an url is given with a subdomain in front of it, using only Apache’s .htaccess ?
So that when user types subdomain.website.org then server loads website.org/somepage.htm
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
As long as both subdomain.website.org and website.org point to the same server with the same document root, you can put these rules in the htaccess file in the document root: