How can I configure my EC2 instance so that one specific wildcard domain (e.g. 1.2.3.4.xip.io
) resolves to some IP that I've chosen (e.g. 5.6.7.8
), and all other DNS resolution proceeds as usual?
Adding the following line to my /etc/hosts
file didn't help:
5.6.7.8 1.2.3.4.xip.io