RE: Redirect Based on Name?

  • From: "Edward Sullivan" <esullivan@xxxxxxx>
  • To: "[ISAserver.org Discussion List]" <isalist@xxxxxxxxxxxxx>
  • Date: Thu, 8 May 2003 17:10:10 -0500

Using ASP, you can use this for redirection:
 
<%
Response.Redirect(" http://www.site1.com";)
Response.End
%>
 
I think your REAL question is about DNS though - you need to define an A record 
for your domain, and do not give it a name. Define the IP address as the same 
as the A record for your website, "www."
 
This will make it so that anyone who types in the domain "site1.com" in a web 
browser without the "www" will be redirected to "www.site1.com". Amazing to me 
how many people fail to do this, even today. (Stupid web tricks)
 
Ed

-----Original Message-----
From: Thomas W Shinder [mailto:tshinder@xxxxxxxxxxxxxxxxxx]
Sent: Thursday, May 08, 2003 5:04 PM
To: [ISAserver.org Discussion List]
Subject: [isalist] RE: Redirect Based on Name?


http://www.ISAserver.org


Hi Steve,
 
You can create a page with a redirect in the META tag. I'm sure there are other 
ways, but ISA Server will not EVER redirect in that for you. Check out my 
articles on redirection over at www.isaserver.org/shinder
 
HTH,
Tom

Thomas W Shinder 
www.isaserver.org/shinder 
ISA Server and Beyond: http://tinyurl.com/1jq1 
Configuring ISA Server: http://tinyurl.com/1llp 

-----Original Message-----
From: Craft, Steve [mailto:SCraft@xxxxxxxxxxxxxxxxxxx] 
Sent: Thursday, May 08, 2003 1:39 PM
To: [ISAserver.org Discussion List]
Subject: [isalist] Redirect Based on Name?


http://www.ISAserver.org




I have a site www.site1.com and I need browsers to go to that address only; if 
a web browser goes to site1.com then I need them to be redirected automatically 
to www.site1.com.  How to do with Web Publishing?

Thanks. 

------------------------------------------------------
List Archives: http://www.webelists.com/cgi/lyris.pl?enter=isalist
ISA Server Newsletter: http://www.isaserver.org/pages/newsletter.asp
ISA Server FAQ: http://www.isaserver.org/pages/larticle.asp?type=FAQ
------------------------------------------------------
Exchange Server Resource Site: http://www.msexchange.org/
Windows Security Resource Site: http://www.windowsecurity.com/
Windows 2000/NT Fax Solutions: http://www.ntfaxfaq.com
------------------------------------------------------
You are currently subscribed to this ISAserver.org Discussion List as: 
tshinder@xxxxxxxxxxxxxxxxxx
To unsubscribe send a blank email to $subst('Email.Unsub') 

------------------------------------------------------
List Archives: http://www.webelists.com/cgi/lyris.pl?enter=isalist
ISA Server Newsletter: http://www.isaserver.org/pages/newsletter.asp
ISA Server FAQ: http://www.isaserver.org/pages/larticle.asp?type=FAQ
------------------------------------------------------
Exchange Server Resource Site: http://www.msexchange.org/
Windows Security Resource Site: http://www.windowsecurity.com/
Windows 2000/NT Fax Solutions: http://www.ntfaxfaq.com
------------------------------------------------------
You are currently subscribed to this ISAserver.org Discussion List as: 
esullivan@xxxxxxx
To unsubscribe send a blank email to $subst('Email.Unsub') 

Other related posts: