So, I'm trying to configure vhosts on my new installation of Windows 10 using EasyPHP Devserver 16.1.
I modified etc / vhosts to include my new domain (mysite.local), which works, but still points to the default easyphp directory. So I changed httpd-vhosts.conf to point this domain to my new directory:
<VirtualHost *:80> DocumentRoot "C:\Program Files (x86)\EasyPHP-Devserver-16.1\eds-www" ServerName localhost </VirtualHost> <VirtualHost *:80> DocumentRoot "C:\Users\Chris\Documents\Web_Development\mysite" ServerName mysite.local </VirtualHost>
However, when I start the server, it erases this file so that it is simply empty, and my domain still points to the default easyphp directory. What can cause this / how can I fix it?
I tried putting vhosts directly in httpd.conf, but that doesnβt change anything, but my new domain points to the default folder.
I really don't get anywhere with this, and I absolutely need to work with vhosts, so I can work on multiple sites.
I can go back to Xampp, which I used on Mac OS, but I had a constant problem with the fact that PHPExcel did not export correctly, so I would like to try with Easy PHP
source share