laravel

  1. S

    Add a custom vhost to cPanel server?

    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 /etc/apache2/sites-available/206.189.xxx.xxx.conf <VirtualHost *:5000> ServerName...
  2. D

    Change apache's webroot directory?

    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?