Hi,

I am having some great difficulty with setting up canonical domains for my website hosted with 1&1 on their Microsoft Windows Server package.

I want to get both "www" and "non-www" to point to the "www" prefix of my domain. Unfortunately the package I am on does not support .htaccess and therefore I cannot use this route. I have been advised by 1&1 that I need to use a seperate default.asp file (my index file is index.html) with the following code:

Code:
<%@ Language=VBScript %>
<%
Response.Status="301 Moved Permanently"
Response.AddHeader "Location","http://www.goodletterwriting.co.uk/"
%>
The problem is that this creates a redirect error. It will work if you insert "index.html" after the domain in this code, however this will force all versions to point to http://www.goodletterwriting.co.uk/index.html which is not what I am looking for.

Can someone please help?

Thanks in advance,
Peter