Error 404 - Not Found

0

Good afternoon,

I'm doing a project where I have installed php7, mysql, apache2 in a virtualbox with ubuntu16.04. I'm working locally and I installed laravel, 5.3. I have an already done api that was working but I made a Virtual host, where I created a new virtual Host and put DocumentRoot minha_pasta and ServerName nome_virtual_host . Then I went to the hosts file and put a new line with 127.0.0.1 hostname_host. When in the browser I put http://nome_virtual_host , it appears to me the page of laravel as it was supposed but when I do http://nome_virtual_host/api , before I was given code JSOn as it was supposed and now it appears to me:

Not Found

    The requested URL /api was not found on this server.

    Apache/2.4.18 (Ubuntu) Server at nome_virtual_host Port 80

How can I solve the problem?

    
asked by anonymous 19.11.2016 / 17:12

0 answers