Mac won't find url when www is included -- sometimes

Discussion in 'ASP.NET / ASP.NET Core' started by KenLin, Aug 27, 2011.

  1. Using a Macintosh computer, SOMETIMES when www is included in the URL, Safari and Firefox will either not display the website correctly (style sheet obviously not found) or the website is not found at all ("website is unavailable. please contact administrator..."). However, when www is removed from the url, the website is found as well as the style sheet and all works fine. Why is this happening, and how to fix it so that some Macintosh users won't have a problem finding my ASP.NET MVC site? Thank you so much in advance for your expertise.
     
  2. This could be the fix?

    Just got an email from my brother who says "add a new record to your DNS record, which includes the www and that will fix the prob." If you agree this is the solution, please tell me how to add the new record within in my discountasp.net account--step by step. My brother isn't familiar with this webhost control panel. Thank you.
     
  3. RayH

    RayH DiscountASP.NET Lackey DiscountASP.NET Staff

    You do not need to add a www record. We autopopulate that for you when you open a new hosting account. At this point, I'm not sure what the problem is. It could be related to the browser(s) you're using or MVC routing. For an overview of MVC routing, please take a look at this link:

    http://www.asp.net/mvc/tutorials/asp-net-mvc-routing-overview-cs
     
  4. Thanks a lot for your reply. I'll check it out.
     

Share This Page