1 year ago

Serve many Laravel apps (virtual hosts) on one VPS WITHOUT DOMAIN

Posted 1 year ago by kordix

I have laravel already working on one virtual host.

But can we serve many apps on one VPS WITHOUT buying the domain, using the ip?

Like http://ip/site1 http://ip/site2

To make it more obvious it can be:

http://ip/myaliasttest should lead to <Directory /var/www/html/site1/public> and http://ip/myaliasttest2 should lead to <Directory /var/www/html/site2/public>

there should be nothing available on http://ip

Please sign in or create an account to participate in this conversation.