Virtual hosts erratic on when changing static IP of guest
Posted: 20. Jan 2016, 13:41
I have ubuntu 15.04 guest installed on a Windows 10 host. When initially set up on home network I was using a bridged adapter and setting a static IP on the guest host was being assigned IP via dhcp. Set up multiple virtual hosts each in their own .conf file and then enabling using a2ensite and pointed my Windows hosts file to each virtual host. Everything worked flawlessly. When I went to a different place with a different network had to change static IP of guest to be within range for the current network and changed with does hosts file to point host to new IP for the virtual hosts. virtual hosts started to act erratically sometimes working, ignoring certain rules sometimes and then following them again later. Went to third location repeating setting the static IP to be in range and virtual hosts would not work at all was only being taken only to welcoming apache file where original document root points. I didn't realize at the time that I needed an easier setup with a Nat and host only adapter for the guest which I have now done but virtual hosts are still not working. Nothing changed on the guest Oscar this entire process. Any ideas on what might be happening.