For those of you that want do it here's the code to redirect to different
sites on a server from the main page in Javascript
:
<script language="JavaScript">
<!--
var dns1 = "http://mail.url1.com"
var dns2 = "http://url1.com"
var dns3 = "http://mail.url2.com"
var dns4 = "http://url2.com"
var dns5 = "http://mail.url3.com"
var dns6 = "http://url3.com"
var urlloc = location.href
var loc = urlloc.toLowerCase()
if ( loc.indexOf(dns1) != -1 ) {
location.href = "http://url1.com

ort"
} else if ( loc.indexOf(dns2) != -1 ) {
location.href = "http://url1.com/sitefolder"
} else if ( loc.indexOf(dns3) != -1 ) {
location.href = "http://url2.com

ort"
} else if ( loc.indexOf(dns4) != -1 ) {
location.href = "http://url2.com/sitefolder2"
} else if ( loc.indexOf(dns5) != -1 ) {
location.href = "http://mail.url3.com

ort"
} else if ( loc.indexOf(dns6) != -1 ) {
// Load Page
}
//-->
</script>
where urlx is the domain name, change mail and .com accordingly and port is
the port of the web messaging for the mailserver or alternate web server
port. Adding more urls is accomplished by incrementing the var dns lines and
adding additional if statements with the redirects.
This is what I was asking for 3 days ago, thought I'd post so others might
benefit from my research and work.