Forum

Virtual Hosts On VM

Avi
24 May 2016, 18:05
I have a linux VN running on a windows host.
I installed hiawatha on my linux VM.
The linux guest has one static ip address : 192.168.1.5
So each time I want to access my webserver I enter the server's ip on my host machine(windows) browser and it works perfectly.
No I want to create virtual hosts for several websites I have on my linux guest.
I want to create virtual hosts for phpmyadmin and another virtual host for my website.

which entries i have to write in hostname for each website?
Thanks
Hugo Leisink
26 May 2016, 07:28
Edit the file C:\Windows\System32\drivers\etc\hosts and add the hostname you want to use and give it the IP address of your VM. Use that hostname in the Hiawatha configuration.
Avi
27 May 2016, 09:22
Thanks Hugo
It Working perfectly
This topic has been closed.