How to set permalink and set up such that each blog post is a new sub domain?

The wild card of the domain is pointed on this server. And also the server has wild card SSL. In such case how to set permalink and set up such that each blog post is a new subdomain?

Ex: test-article-1.example.com test-article-2.example.com

All other pages and things are on the main domain.