Hosts File
To add your own entries to the server’s hosts file, use the hosts::entries
hash within the Custom JSON Server Level Configuration:
{
"hosts::entries": {
"192.168.1.1": "remote-server.example.com",
"127.0.0.1": "www.example.net"
}
}
Warning
Keep in mind that such hosts file entries can complicate troubleshooting. If possible, prefer real DNS records.