I have a VPS and I want to deploy my Laravel project on it. Serve project on Ubuntu and Apache2.I didn't set any domain name and also DNS server. How can I do it?
I had done it! but the thing is:
Is this safe that my all files are in the www/html folder?
can anybody see them?
first if you install Laravel on your own server you need to configure vhost / virtualhost.
Laravel use /public' as root domain, so in your case that you install it on ip address you need to edit `000-default.conf' since you install apache2 at debian based or you create the one.
also i recommended to install composer too its very helpful too.