Do not publish this site.  It is not a real site but a way to change the redirect script in the root directory.

The Default.asp    page in this site  is not to be published in anything but the root directory.   It is a redirect script not a web page.   Publishing it in a folder will screw everything up. 


To add to the redirect script -   Keep adding this script

elseif host = "tomwillis.us" or host = "www.tomwillis.us" then
response.redirect("http://tomwillis.us/tomwillisus/default.html")



C:\Program Files\FileZilla Client\filezilla.exe   to execute the program.  

u36219128        

  To upload the files send it to the correct folder.  If uploading in Web Expressions   mark the correct folder under FTP

Login is for the root directory    starts with         u         Password   reg&2

.    If uploading a updated redirect file use Filezilla and send it to the root directory.  default.asp

 

 

Redirect script   in root directory  under     default.asp

<%EnableSessionState=False

host = Request.ServerVariables("HTTP_HOST")

if host = "aviation.tom-willis.com" or host = "www.aviation.tom-willis.com" then
response.redirect("http://aviation.tom-willis.com/aviation/default.aspx")                 Notice no    www     the "aviation" is the folder.

elseif host = "tomwillis.us" or host = "www.tomwillis.us" then
response.redirect("http://tomwillis.us/tomwillis/default.html")                     This part is for the multiple ASP or ASPX sites  "Tomwillis" is the folder

else
response.redirect("http://domain1.com/error.htm")                                                      Don't need this else

end if
%>

 

No instructions just the script

<%EnableSessionState=False

host = Request.ServerVariables("HTTP_HOST")

if host = "aviation.tom-willis.com" or host = "www.aviation.tom-willis.com" then
response.redirect("http://aviation.tom-willis.com/aviation/Default.aspx")


elseif host = "tomwillis.us" or host = "www.tomwillis.us" then
response.redirect("http://tomwillis.us/Tomwillis/Default.html")


end if
%>