Answer
I would like to suggest you a simple and straight forward way to implement it.
- If you want to use sub-domain(like: api.xyz.com) map it from the subdomain management from hosting provider
- Point it to the public folder of your current laravel app deployment so it will work simple as api.xyz.com/api/{version}/{route_name}
i think you should follow this steps and you are good to go.
0 comments:
Post a Comment
Thanks