I have asp.net mvc 5 application which has an admin controller and only authorized users can call actions of this controller.
Url is like www.example.com/admin, When anyone opens that url sees a login page. And all admin pages are in this controller.
www.example.com/admin/orders www.example.com/admin/payments
But now i need these pages as subdomain like "admin.example.com". How can i achieve that. I am very new at MVC interface.