Virtual Host On XAMPP
Let’s setup .test virtual host. Go to F:\xampp\apache\conf\extra and open httpd-vhosts.conf file and add the following lines. DocumentRoot “F:/xampp/htdocs/new_project/public” ServerName newproject.test Open the file C:\Windows\System32\drivers\etc and open hosts file and add your Servername. localhost name resolution is handled within DNS itself. 127.0.0.1 localhost ::1 localhost 127.0.0.1 newproject.test Restart the Apache […]