hi im on a windows server and getting no help from my host! i need to know what code do i use to fowerd my none www to my www for my domain .. i was told i cannot use a .htaccess they say that dose not work qwith a windows server! i have been stuck on this for weeks.. can any one help? thanks!
hi guys its Ross again . really stuck on this none www to www thing.. dose anyone know how to fix this? or can some on esend me to a website that has the info on it? thanks
So your host does not have apache I guess, why is this, i'd change host to be honest i'll have a look for you but my knowledge is limited without htaccess! After a quick look there is mod_rewrite if you have apache, or I think you may be able to do a redirect in the head of a document (see last 2 posts using PHP i think), a lot of hassle if you ask me why windows server?
Apache is a linux based web server module and unrelated to the OP's question. Hi does this help? < %@ Language=VBScript %> < % Response.Status="301 Moved Permanently" Response.AddHeader "Location", http://www.mydomainname.com %> I don't know much about windows server environments other than they cost more and I don't like them lol.. I got that from here http://www.webpronews.com/topnews/2...-on-iis-nonwww-domain-name-to-www-domain-name I was reading over this as well but it went right over my head http://seablick.com/blog/articletype/articleview/articleid/44.aspx hope that helps, Nigel
.htaccess is for apache web server only. on windows (IIS) you need to either do it in code or through IIS how do i turn on IIS in plesk?
sorry guys i still dont under stand what i should name the file? i can put that code in but what is the file name going to be for my notepad file? and what is IIS? is this something i have to turn on?
As far as I recollect from messing with a local windows server IIS is running or you would not see anything. That is Internet Information Services or the server. I would post your question in either the programming section or the site and server information forum on this site. You will get a much sounder response than you will in the html forum. Server forum http://forums.digitalpoint.com/forumdisplay.php?f=18 programming http://forums.digitalpoint.com/forumdisplay.php?f=17 either one should work but programming has some asp or windows related topics floating around. Here is your question posted by someone else http://forums.digitalpoint.com/showthread.php?t=999594&highlight=redirect+windows+server and here are all the returns I got when I searched DP for your problem http://forums.digitalpoint.com/search.php?searchid=14715744 hope that helps, Nigel