I have my domain name registered with ASPHostPortal and pointing to my IIS server where I have an ASP.net MVC application deployed. To accomplish this I simply have an entry record that points to the IP address of my IIS server.
The connection name of my IIS web application is domainname.com. I can hit is just fine in the browser. However, when I try to hit www.domainname.com it hits the default IIS website. How do I get both domainname.com and www.domainname.com to hit my web application. Do I need a special A CNAME record or entry?
Also, I'd like * .domainname.com to hit my app as well. Is there a way to do this in DNS or IIS?
Thanks in advance