I have little experience with nameservers, so I don’t know if what I’m asking is actually possible. Anyway:
Sometimes I have to migrate websites from other servers to my own (Linux Apache). I work “locally” (/etc/hosts is my friend) until I’m sure everything is in order and only then I edit the A record on the DNS zone of the original server, making it point to my address.
Problem: I can’t do any check on HTTPS (“acme.sh --issue” fails) before such editing. So, isn’t there any way to make SSL work on my local server BEFORE those DNS changes?
(I have a DNS managment tool - PowerDNS - and I can create authoritative zones)