September 2016

Sample Apache Virtual Host in Windows with XAMPP

Reference to self: 1. Activate vhosts in XAMPP by going to http.conf and check if # Virtual hostsInclude conf/extra/httpd-vhosts.conf is present (if commented out, uncomment it) 2. Set up http-vhosts.conf (usually inside “extra” folder) with below sample (change server admin, name and directories to the appropriate values) NameVirtualHost *:80 <virtualhost>    ServerAdmin admin@server.com    DocumentRoot Continue reading Sample Apache Virtual Host in Windows with XAMPP