there are 10.000 posts in my wordpress website, i want to delete all files and put 1 file

so i dont know the urls, when someone come into a url on old domain it must get a message, we have a new website click to go to this post in new domain