Hello! It is necessary that my site is available on the local network automatically . That is, the site I have is on a flash drive with all the packages (Open server engine), and when I start the server on any computer I want the site to be available on the local network of this computer. Can you please tell me what to do or which engine should I use? Thank..
- should it be available by ip or by name? - iamsalnikov
- by name, regardless of ip address and without changing the file hosts - Sherzod
- hell, I just had a proposal for hosts) - iamsalnikov
- so that network users have access. it is necessary to register in each computer network in hosts ip-adress mysite.ru - Yoharny Babay
- 2do virtualka there and run it, the address by dhcp what you want can not be universal in principle. - zb '
1 answer
If it is in any of any computers to include this flash drive every time, then the IP address will most likely also change (although the company's policy may be different). And accordingly, each time you need to edit the hosts, so that the option is extremely hemorrhoid.
More correct (with such a TZ), it would be to use a DNS server, in this case not even a centralized, but something like DynDNS.
Includes the computer, the web server is loaded from the USB flash drive and automatically starts the software of dynamic dns, which will send some x domain to the fake network ala 192.168 and so on.
But in the ideal case, of course, placed on a static system, even a virtual system. Web services with static content do not like this.
- everything. I found a way in the open server settings. just not by name but by ip - Sherzod
- 2you pervert - zb '12