I have used AWS server and Laravel 5.5. So main domain point to main ec2 instance, and sub domain pointing to sub ec2 instances.
I have Project that require to manage and multiple subdomain and main domain. i.e Main Domain is testdemo.com and others are xyz.testdemo.com, abc.testdemo.com etc.
In Subdomain I have a single file, and put it one line as include to main domain main file url. But When I do Form Post from subdomain, it gives me error 419 (token mismatch error).I have tried many things. tokenmismatch error solution (included token inside form).