Wordpress & Django -- One domain, two servers. Possible?

Posted by DomoDomo on Stack Overflow See other posts from Stack Overflow or by DomoDomo
Published on 2011-01-13T17:46:08Z Indexed on 2011/01/13 18:53 UTC
Read the original article Hit count: 239

Filed under:
|
|

My question is about hosting Django and Wordpress under one domain, but two physical machines (actually, they are VMs but same diff).

Let's say I have a Django webapp at example.com. I'd like to start a Wordpress blog about my webapp, so any blog page rank mojo flows back to my webapp, I'd like the blog address t be example.com/blog. My understanding is blog.example.com would not transfer said page rank mojo.

Because I'm worried about Wordpress security flaws compromising my Django webapp, I want to host Django and Wordpress on two physically separate machines.

Given all that, is it possible using re-write rules or a reverse proxy server to do this? I know the easy way is to make my Wordpress blog a subdomain, but I really don't want to do that.

Has anyone done this in the past, is it stable? If I need a third server to be a dedicated reverse proxy, that's totally fine.

Thanks!

© Stack Overflow or respective owner

Related posts about python

Related posts about django