I want to run the Laravel API with a specified port 5000. Because there is another websocket also running on port 8090.
I have done this regular way on Ubuntu 18.04 server with the following vhosts
I installed laravel on one of my domains in cpanel. Laravels docs recommend that I change the webroot directory to the "public" directory which is located inside of the framework main directory.
How do I change the webroot directory from public_html to public for a specific domain?