Skip to main content
March 27, 2009
Question

How to do this?

  • March 27, 2009
  • 5 replies
  • 738 views
For an application...

when user type accounting in browser

i want user to goto actual url of application

http:\\cfsvr\account\home.cfm

how to do this?
Is this called DNS mapping?
Is this done in nt host file
alias url
accounting http:\\cfsvr\account\home.cfm

please explain me.
    This topic has been closed for replies.

    5 replies

    April 3, 2009
    this is what i want to know

    when u type

    google

    it goes to

    http://www.google.com/

    how this is done?.
    What this process is called ? DNS mapping?

    April 9, 2009

    Well,

    if you want to do this for internal clients or yourself, you can use the hosts file to point any domain you want at an IP, and get the Webserver to listen for the virtual host.  However, if you want to do this for everybody on the web, then you need to buy a domain and map it over using somebody like DynDNS (recommended, I use them).

    Some more information on your plans (internal vs. external users) and your hosting environment (IIS/Apache etc.) would help narrow down the possibilities, so reply with those and we'll see what we come up with.

    April 3, 2009
    No....


    this is done in DNS server by mapping?

    map

    accounting

    to

    http:\\cfsvr\account\home.cfm
    Participant
    March 28, 2009
    You could also have home.cfm added as a default document if you don't want to rename this file. If you don't have access to do that yourself, call your hosting provider and see if they can add it as a default document.

    hope that helps

    Matthew Vass
    QA Analyst
    mvass@hostmysite.com
    HostMySite.com
    March 27, 2009
    ...or I could have read your post totally incorrectly. Maybe you might need some web server reWrite rules for the URL's?

    Apache has Mod_Rewrite and IIS has some other plugin.

    Mikey.
    March 27, 2009
    If you have a physical folder called APPLICATION, then all you need is a file called index.cfm within that folder.

    So now you can type:

    http://www.someurl.com/application/

    Instead of:

    http://www.someurl.com/application/index.cfm

    However, you have a file called "home.cfm". Unless there is a specific need for this, I would call it index.cfm because this is what the web server / CF will resolve to if a file is not explicitly given in the URL for that folder.

    Did this help?

    Mikey.