ASP.NET page weirdly redirecting to home page or not loading at all for no reason

If you have read my previous post on pointing your custom domain name to an azure domain via CNAME record and how to fix the MX records for emails, we modified the @ entry for the custom domain from:

@          xyz.cloudapp.net                             CNAME

to

@          http://www.customdomain.com    URL Redirect (301)
www     xyz.cloudapp.net                              CNAME

There is a problem with this.

For some reason, if my links are

http://customdomain.com/folder/1.aspx?id=123

It does not work. Neither over SSL nor over HTTP.

To get this to work, I had to change my link to:

http://www.customdomain.com/folder/1.aspx?id=123

I am not really sure why this is necessary, and why neither Google Chrome or IE 10 is able to handle it.

I'll keep you posted if I hear from namecheap guys.


Comments

Popular posts from this blog

Tutorial: Using Google Cloud Storage from C# and .NET

Late 2008 Macbook only giving 1.5 gb/s speed with 6 gb/s Intel SSD?

The ridiculous interview experience