show backend module in subdomain (multiple app)

Hi,

I make a Multiple Application and my route like this:

main website: test.com/

admin panel: test.com/admin

i want admin panel show like admin.test.com

how can i do this ?