That’s because there is currently a Discourse install there, which has the nginx in the container.
It would be easiest to point the old hostname to the new instance and handle the redirection there see URL rewrite for domain change in permalinks - #7 by modius
Alternatively, remove the Discourse install and set up nginx on the old instance