follow below stpes to add vertual host in xammp:
- Go to
C:\Windows\System32\drivers\etc
openhosts
file, in there add new line write: 127.0.0.1 domain.test - Go to
C:\Windows\System32\drivers\etc
openhttpd-vhosts.conf
file, in last line add those code and modify it according to your domain