preparing a url


Web tier: servlets, JSP, Web frameworks: preparing a url

  1. preparing a url (3 messages)

    how to prepare a URL for any application running on Tomcat. i have an application say
    i want to hide the ip address. how to configure the server for this.

    Threaded Messages (3)

  2. preparing a url[ Go to top ]


    First thing is that there is nothing to do with server to hide the IP address.

    If your application is accessed within the same domain, then the application can be accessed as http://yourmachinename:80/app.

    If your application needs to be accessed from outside your domain(Intranet) or from the internet
    then your machine name(IP address) should be registered in a domain server called as DNS server then your application can be accesses by anyone as http://yourfavouritename.domainname/app.

    Ravi Sankar Pabbati
    GE India
  3. preparing a url[ Go to top ]

    thasnks ravi,
    if you can help in this regards.
    actually mr rao wanted to know how that url say can be written as

    why to include default port no. and the extension of the file name.

  4. preparing a url[ Go to top ]


    If you don't want to mention the port number in the URL then the web server should run on the port 80(which is the default port).

    If you don't want to use the IP address in the URL, then the IP address should be replaced with
    1. machine name if you are accessing within the intranet
    2. DNS name of the machine if it is accessed withing a LAN,WAN
    3. Register your web site name with InterNIC if it has to accessed through the internet.

    Ravi Sankar Pabbati
    GE India