Configuring the traffic cop
At this point you should set up a domain name to resolve to your public IP address using wildcard subdomains, meaning that this.example.com, and-this.example, and-effectively-anything.example.com all load the same IP (of course, use your own domain rather than example.com.).
If you are using Namecheap, for example, you can follow these instructions, however don’t do a redirect, head straight to the advanced features. In all cases, you’ll want to create an A record for your domain which points “*” (which means wildcard subdomains) to to the public IP of your Nginx ingress, so your entry will look like this (use your reverse proxy’s external ip instead of 220.127.116.11):
It will tell you that it can take up to 48 hours to propagate; in my experience it takes a few minutes:
curl hello.example.com # default backend - 404 curl world.example.com # default backend - 404
(We’ll make sure they load up the correct applicatins later on in the article.)