serving a blog at domain.com/blog when dns for domain.com is pointing elsewhere

Posted by user143715 on Server Fault See other posts from Server Fault or by user143715
Published on 2012-11-01T22:37:50Z Indexed on 2012/11/01 23:05 UTC
Read the original article Hit count: 368

Filed under:
|
|

there is a blog hosted on one machine (apache) (currently at blog.domain.com) and we'd like to move it to domain.com/blog. dns for domain.com is pointed at an haproxy machine load balancing a few nginx app servers. the machine hosting the blog is not behind that load balancer.

considering i have complete control over the configuration of everything, whats the most straightforward way to get this to submit to my will and have the blog served from domain.com/blog?

© Server Fault or respective owner

Related posts about apache2

Related posts about reverse-proxy