I have this working in an MVC project on IIS by adjusting the hosts file.
When running an Azure project, I can see some ports getting remapped, not sure what thats doing or how I can set up subdomains, is it also done in the hosts file?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Working with subdomains is possible in Windows Azure. If you need to map these subdomains to different web applications, you’ll need to map these in your service configuration (hostHeader attribute):
When developing locally, you can do this using host headers like you described. If you want to deploy to production, you’ll need to configure a CNAME on your domain.
Resources