How to create virtual host for laravel 5 project

I’m using Laravel 5 for project development and I trying to configure virtual hots on wampserver.

I have changed httpd-vhost file like this:

<VirtualHost *:80>
    DocumentRoot "F:/Projects/college/public"
    <Directory "F:/Projects/college/public">
        Options Indexes FollowSymLinks
        AllowOverride all
        # onlineoffline tag - don't remove
        Order Deny,Allow
        Deny from all
        Allow from

The hosts file looks like this:

The problem is, when I navigate to url: I’m getting back to the localhost of wampserver not to my project.
I don’t know what’s wrong.

Source: wampserver

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.