Usage:
- php hosts.php local # The domain name will point to the local machine 127.0.0.1
- php hosts.php dev # The domain name will point to the development machine 192.168.1.100
- php hosts.php # Delete the hosts configuration of the domain name
Copy code
|