0

I am trying to set up virtual host with xampp for my laravel project. I have done following changes.

on httpd.conf

Listen 8080
# Virtual hosts
Include conf/extra/httpd-vhosts.conf

I normally access my localhost files using localhost:8080 port

on httpd-vhosts.conf

    NameVirtualHost *:8080
<VirtualHost *:8080>
    ServerAdmin admin@abounde.com
    DocumentRoot "C:/xampp/htdocs/code/customer_portal/public"
    ServerName abounde.com
    ErrorLog "logs/abounde.log"
    #CustomLog "logs/dummy-host2.example.com-access.log" common
</VirtualHost>

edited hosts file from windows/system32/drivers/etc/hosts

and added following

127.0.0.1           abounde.com

I restarted the server after saving all changes. I pinged abounde.com and found the domain points to 127.0.0.1 which means its working.

However when i try to access abounde.com the localhost based site do not load

enter image description here

Any way to diagnosis the problem?

Nurul Alam
  • 342
  • 3
  • 22

0 Answers0