Support the ongoing development of Laravel.io →
Installation Configuration Architecture

So I have my main site setup in laravel and everything works fine, my issue is I am trying to setup a subdomain that uses wordpress for our news. so I have mysite.com and news.mysite.com both pointing to my server and I am getting very weird, issues. Basically how I have it right now is laravel is in /var/www/html/Laravel Here, then my news section that has a wordpress install is /var/www/news. I use apache virtual host to direct incoming traffic to the correct folder. Here is what happens, go to mysite.com -> everything works great, go to news.mysite.com -> no images load, no css loads. If i try and go to /feed or /wp-admin to edit wordpress settings laravel takes over and redirects. so if I type news.mysite.com/wp-admin and press enter it takes me to mystie.com/wp-admin and throws a laravel httpd not found exception. Anyone know what could be going on here ? Basically I just want a totally separate system setup for the sub domain and have it run wordpress and my main site run on laravel, I do not want them to interact in any way.

Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

zocheyado zocheyado Joined 15 May 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.