I am working in a php project using wamp. I have these wamp installed in my public server, so till now when I hit 204.XXX.XX.XX/projectname I could access from any computer inside my university. Now I dont want to display this localhost main screen so I tried virtual host configuration.
C:\Windows\System32\drivers\etc\hosts file
I added 
204.XXX.XX.XX   api.local   #api
httpd-vhosts.conf
<VirtualHost *:80>
  ServerName api.local
  ServerAlias api.local
  DocumentRoot "c:/wamp64/www/api"
  <Directory "c:/wamp64/www/api/">
    Options +Indexes +Includes +FollowSymLinks +MultiViews
    AllowOverride All
    Require all granted
  </Directory>
</VirtualHost>
I have already enabled the virtual host.
Now from other computer I could not access this api.local project. How can I fix this issue?