I recently installed a fresh copy of Laravel onto this test domain -http://laravel.so-mad.com/ using composer. Install worked fine, if i navigated to http://laravel.so-mad.com/laravel/public then it all worked as it should.
I then began the task of editing to DocumentRoot on my server. editing the httpd.conf file directly wasn't an option as this gets automatically rebuilt whenever there is an update or the server is rebooted.
However, there is a file included if the file exists at
/etc/apache2/conf.d/userdata/std/2_4/somad/laravel.so-mad.com/*.conf
I editied this file adding in the line
DocumentRoot /home/somad/public_html/nobackup/laravel/laravel/public
This.. I thought would allow my new laravel project to work from the domain root without having to navigate to /laravel/public.
However, as you can see by navigating to http://laravel.so-mad.com/ i just get the message No input file specified.
Any advice or help would be much appreciated