I have search long enough but can't bump into the answer.
I have ubuntu 16.04 installed for local web development in one machine on a local area network. I have done installing LAMP etc.
I have different websites installed here.
- main server name is server1.example.com
- test.example.com
- foo.example.com
I can access each test website fine from the ubuntu server itself.
My problem is, they all point to the same ip (192.168.1.100) which is the server ip addres.. from other machine when i type http://192.168.1.100 i always get the main webserver content ie. server1.example.com
My question. How do i access test website 2 and 3 from other machine in the LAN? Like when i want to work with test.example.com what will be the address i typed on the browser??
Is it possible to attain what i'm trying on a Local Area Network?
Thankyou in advance.