I want link subdomain with subdomains.
I have laravel files in subdomain "api.mywebsite.com" and I want auth with api two different subdomains "customer.mywebsite.com" and "provider.mywebsite.com".
"api.mywebsite.com" - laravel files and working as RESTful api for auth logins, bookings, images and etc..
"customer.mywebsite.com" - where customer can login and see profile, make bookings and etc..
"provider.mywebsite.com" - where provider can login and see profile, accept bookings and etc..
Main subdomain will be "api.mywebsite.com" what share information to two subdomains..
Do I have do some configures in shared hosting? I don't have permissions to edit httpd.conf if I must change there something?
I want api shares auth info to customer website and provider website.
Any advice how to implement? one tutorial was with valet but this didnt work for me.
Do I have to add every subdomain a laravel files or only to api subdomain?