Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Is that possible to embed wordpress or other php application to a django/python site ? I am running apache web server on linux...


share|improve this question

1 Answer 1

up vote 0 down vote accepted

i figured it out myself.

Just redirect the subdomain of using php application to a different location at apache configure

if you like blog.yourdomain.com be a php applicaiton just at a subdomain

at apache configure

<VirtualHost *:80>
        ServerName   blog.yourdomain.com
        UseCanonicalName Off
        ServerAdmin  "contact@yourdomain.com"
        DocumentRoot /var/www/vhosts/yourdomain.com/blogapplicaiton

and put your php code in /var/www/vhosts/yourdomain.com/blogapplicaiton

you get all other web application through django but blog.yourdomain.com using php applicaiton.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.