Subdomain URL rewrites in Coldfusion?

Discussion in 'Site & Server Administration' started by wvult23, Dec 4, 2006.

  1. #1
    I recently created a subdomain (abc.mydomain.com) for my existing Coldfusion website, www.mydomain.com. The subdomain resides on the same IP as the main site at this directory: http://www.mydomain.com/SUB1/index.cfm

    My question is, is it possible in Coldfusion to rewrite a URL so that when users access the subdomain, they see http://abc.mydomain.com/ in their address bar instead of the actual directory (http://www.mydomain.com/SUB1/)?

    This site runs on a Windows/Coldfusion server at a web host, so I have no access the the Coldfusion Admin or server settings (shared account).

    If anyone knows of a way to do a 'URL rewrite' in Coldfusion, that would be great!
     
    wvult23, Dec 4, 2006 IP