1

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?

3
  • Are you looking to redirect users who visit /blog to the blog subdomain, or just to allow for the content of /blog to be shown when visiting the subdomain? Oct 18, 2012 at 4:25
  • Yes, the latter. The content of /blog should show when someone visit the subdomain.
    – Josh
    Oct 19, 2012 at 15:17
  • Can you provide the current config of the main domain and the subdomain? Oct 19, 2012 at 16:28

0

You must log in to answer this question.

Browse other questions tagged .