Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

adityar15's avatar

Getting 404 and 500 error on subdomain occasionally

I am using Livewire and Laravel to develop a multivendor application. Each vendor has a subdomain. When I run the project on a subdomain, it works well but in the middle of nowhere, I get errors 404 and 500 sometimes in a popup window. I checked the logs, the code everything seems ok. Not sure if I am missing any changes that Livewire requires for the subdomain?

0 likes
3 replies
Wakanda's avatar

@adityar15 to get help it might be useful to share code that is related to the pages that u r currently experiencing issues on

adityar15's avatar

@wakanda Thanks for the reply. I figured out the problem. It was just the xampp thing. The app works perfectly on a live server. On xampp I have multiple domains configured that might be the reason for livewire to create conflict on subdomains.

Please or to participate in this conversation.