Auto hosts

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Auto hosts

Postby n.osenni » 31. May 2018 09:43

Is there any solution to auto write in hosts file? In OpenServer I can do it. Why there aro no so very usefull future?
n.osenni
 
Posts: 3
Joined: 14. January 2018 12:07
XAMPP version: 7.2.0
Operating System: windows

Re: Auto hosts

Postby Nobbie » 31. May 2018 10:32

Because the hosts file is part of the Operating System and you require Admin rights to change the hosts file. Its not usefull to let any user modify the hosts file, its stupid. Anyway the hosts file of a server is not worth very much, its quite more important to adapt hosts files of the clients. This cannot be done by OpenServer anyway.

Finally, using the hosts file is cumbersome and outdated, which is only useful in very small test environments. Otherwise DNS servers are used nowadays instead of hosts files.
Nobbie
 
Posts: 13182
Joined: 09. March 2008 13:04

Re: Auto hosts

Postby n.osenni » 31. May 2018 10:43

Otherwise DNS servers are used nowadays instead of hosts files.

where can i read about it?
n.osenni
 
Posts: 3
Joined: 14. January 2018 12:07
XAMPP version: 7.2.0
Operating System: windows

Re: Auto hosts

Postby TonyVier » 31. May 2018 10:50

TonyVier
 
Posts: 43
Joined: 24. May 2018 11:22
XAMPP version: 7.2.5-0
Operating System: Windows 10 pro


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 136 guests