Modify local host table

#1

Is it possible to add an entry to the local host table?

We want to test against a local mock server and would like to update the host table to map “api.server.com” to 127.0.0.1 instead of a public IP address.

Thanks.

0 Likes

#2

You can just write a line to /etc/hosts eg. from script step.

0 Likes