Solved

WHat is the path to open a application which is in newly created host in tomcat webserver

Posted on 2009-05-19
2
190 Views
Last Modified: 2012-05-07
Hi in my apache tomcat server i created a new host with the name "news" and its app directory is   "newsapps" and i also configured this in my server.xml file as

<Host appBase="newsapps" name="news">
      </Host>
Now i copy a web application called "a2znews" in CATALINA HOME$/newsapps directory(which is newly created by me), but i don't know how to test this application whether it is working or not,
In case of  localhost virtual host(default virtual host in my server) i use url like
http://localhost:8090/a2znews  to open the a2znews application. but i don't know how to open the application which is in "news"  virtual host.
0
Comment
Question by:haneefnb
2 Comments
 
LVL 51

Accepted Solution

by:
ahoffmann earned 500 total points
ID: 24429245
you need an entry in DNS or your hosts file for news which points to the proper IP (probably localhost)
then you can access it like http://news:8090/newsapp
0
 

Author Comment

by:haneefnb
ID: 24429891
yes i opened the link send by u but i get the message like


Network Timeout

     
The server at www.news.com is taking too long to respond.

 The requested site did not respond to a connection request and the browser has stopped waiting for a reply.

    * Could the server be experiencing high demand or a temporary outage?  Try again later.
    * Are you unable to browse other sites? Check the computer's network connection.
    * Is your computer or network protected by a firewall or proxy?  Incorrect settings can interfere with Web browsing.
    * Still having trouble? Consult your network administrator or Internet provider for assistance.



       
       
     


     
     
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
IPv6 Networking 6 95
Why can I not access my httpd.conf from my WAMP menu... 9 61
XAMPP 14 42
NGINX/Apache redirect on 403 and 404 5 68
If you are running a LAMP infrastructure, this little code snippet is very helpful if you are serving lots of HTML, JavaScript and CSS-related information. The mod_deflate module, which is part of the Apache 2.2 application, provides the DEFLATE…
If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
This tutorial demonstrates a quick way of adding group price to multiple Magento products.
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

948 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now