Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Hi there,
Indeed one option is to setup the Laravel application on a subdomain name for example: api.your_domain.com.
That way the two applications will be separate and would have separate Apache virtual hosts.
Another option is to setup an alias for your Laravel application inside the Apache Vhost that you shared:
Alias /app /var/www/laravel/public
That way your Laravel appliation would be accessible at yourdomain.com/app.
Note that you will also need to change your Laravel APP_URL to APP_URL=http://yourdomain.com/app and if you have an .htaccess file you will need to change the following:
// ...
RewriteEngine On
# Add this line
RewriteBase /app/
// ...
Hope that this helps! Regards, Bobby