1. Home
  2. Cloud & Dedicated Servers
  3. Scripts and Programming
  4. How do I configure a pointer to point to a specific folder?

How do I configure a pointer to point to a specific folder?

The following script can be used to have a pointer point to a specific folder. This script needs to be placed on the default page and it must be an asp page and not an html page.

<%  
 Response.buffer = true

 IF  Request.ServerVariables(“SERVER_NAME”) = “domainname.com” then
 response.redirect “domainname.com/directory”

 ElseIF  Request.ServerVariables(“SERVER_NAME”) = “domainname2.com” then
 response.redirect “domainname2.com/directory2”

 ElseIF  Request.ServerVariables(“SERVER_NAME”) = “domainname3.com” then
 response.redirect “domainname3.com/directory3”

 ElseIF  Request.ServerVariables(“SERVER_NAME”) = “domainname4.com” then
response.redirect “domainname4.com/directory4”

>End If
 %>

Content retrieved from: https://support.appliedi.net/kb/a351/how-do-i-configure-a-pointer-to-point-to-a-specific-folder.aspx.

Updated on November 11, 2019

Was this article helpful?

Related Articles

Need Support?
Can't find the answer you're looking for? Don't worry we're here to help!
CONTACT SUPPORT