Laravel 5.8 use subdomain as API endpoint beside domain.com/api – CPanel
I have a production server with some API's endpoints. I just want to make a more pretty system moving all API calls from domain.com/api/v1/xxxxxx to a subdomain like api.domain.com/v1/xxxxxx By now, I just create the subdomain at cPanel: api.domain.com then…