Route to subdomain
I have made an asp.net mvc 3 application with an area called blog. I want to route this area to my subdomain blog.mywebsite.com. How can I achieve this?
How do I need to define my route? Do I have to configure the DNS?
Currently I just use the default area route. I can access my blog are开发者_运维问答a for now at this way. mywebsite.com/blog
You will require a CNAME entry setting up that will redirect to your website. Your hosting provider will be able to help out here if you are not familiar with this.
精彩评论