This was originally asked on stackoverflow, but looking around here, I get a comfy feeling someone will know the answer.
I am using lighttpd and would like to have the url path for one page show as the subdomain.
For example, I have the following url: http://test.com/blog/...
and I would like to show it in the browser url as: http://blog.test.com/...
Other detail: The blog.test.com
is already an existing subdomain on the same server as test.com. It's a separate Wordpress installation though. We're simply trying to get everything under one domain but keep the subdomain path.
What is the best way to go about doing this?
/blog
to the blog subdomain, or just to allow for the content of/blog
to be shown when visiting the subdomain?