How to Resolve Canonial Issue for Windows Hosting?

Discussion in 'Web Hosting' started by bushib, May 15, 2008.

  1. #1
    Hi there,

    I want to know that how to resolve the Canonical issue i.e. www and non www versions of the websites for Windows based hosting.

    Regards
    bushib
     
    bushib, May 15, 2008 IP
  2. calum

    calum Peon

    Messages:
    2,821
    Likes Received:
    141
    Best Answers:
    0
    Trophy Points:
    0
    #2
    If your windows server is running on apache then it is possible to use htaccess to do this, however it can be slightly tricky to get working.

    However if it is just running windows server or IIS then you cannot use htaccess, I haven't had much experience with non-apache servers so I cannot help you with that.
     
    calum, May 15, 2008 IP
  3. bushib

    bushib Banned

    Messages:
    1,096
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Hi there,

    Any more help please?

    Regards
    bushib
     
    bushib, May 15, 2008 IP
  4. xous

    xous Active Member

    Messages:
    173
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    60
    #4
    Hi,

    If you are working with IIS with no control panel (control panels will sometimes reset changes) you can configure a redirect direct via IIS if you have remote desktop access.

    Click Start > run type "inetmgr" without quotes
    Add a new virtual host with the host-name you want to redirect. (i.e. www.example.net)
    Right click on the new virtual host and select properties
    Switch to the Home Directory tab
    Check "A redirection to a URL" and then the URL (i.e. example.net)
    You may want to make it a permanent redirection.
     
    xous, May 15, 2008 IP
  5. sreyas

    sreyas Well-Known Member

    Messages:
    128
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    108
    #5
    Hi Bushib,

    You can go to iis, take the properties of site you are mentioning. In the website tab, click on advanced button, there you need to give both headers

    www.sitename.com IP Port80
    sitename.com IP port80

    I also suggest adding a CNAME for the sitename.com as www.sitename.com in the DNS zone for your domain.

    Regards
    Sreyas
     
    sreyas, May 16, 2008 IP
  6. dilzsaran

    dilzsaran Well-Known Member

    Messages:
    196
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    103
    #6
    I think its not at all a problem you can easily cofig your http cofig to fix this issue

    just search google for this you will find lot of answers
     
    dilzsaran, Jun 25, 2008 IP