need help with none www to www with godaddy .asp

Discussion in 'Programming' started by computergeeks, Apr 26, 2010.

  1. #1
    need help with none www to www with godaddy .asp
    i have a shard server at godaddy ( windows) and i wan tto forward my none www to my www for seo resons , called godaddy 5 times and got 5 differnt answers

    the last person said i need to make a web.config file and upload it as a text file! and name it index.asp
    but how can i do that when my home page is index.asp it will over right my site!

    i have working on this for week! godaddy knows nothing about anything..

    it should be simple mywebsite.com forwored to www.mywebsite.com but it cannot be a 301 as windows dose not support that i guess
     
    computergeeks, Apr 26, 2010 IP
  2. computergeeks

    computergeeks Active Member

    Messages:
    341
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    55
    #2
    now godaddy is telling me this and name it default.asp


    <%@ Language=VBScript %>
    <%
    Response.Status="301 Moved Permanently"
    Response.AddHeader "Location", "http://www.new-url.com"
    %>
     
    computergeeks, Apr 26, 2010 IP