Uploading a file to the web root

You can’t. The DNS method is the only way.