Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Redirect domain name to specific page

Status
Not open for further replies.

toma2

Technical User
Sep 29, 2000
4
US
A member of our organization has registered a domain name and it is currently pointed to the ip address of our iis server and brings up the default page. He would like his domain name to bring up a particular page at our site. From my reading, I think it can be done with filters and HTTP headers, but I don't know how and I don't write C++ either. Can anyone help me with this? Thanks. [sig][/sig]
 
in your global.asa:
if request.servervariables("URL") = "myfriendsdomain" then
response.redirect "myfriendspage.asp"
response.end
end if [sig]<p>nick bulka<br><a href=mailto: > </a><br><a href= </a><br>Get your technical books at Bulka's Books<br>
[/sig]
 
Thanks Nick, I'll give that a try.

Keith [sig][/sig]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top