File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Tomcat and the fly likes how would i go about making apache my actual server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "how would i go about making apache my actual server" Watch "how would i go about making apache my actual server" New topic
Author

how would i go about making apache my actual server

john mattucci
Ranch Hand

Joined: Nov 03, 2000
Posts: 331
Im new to servers and Apache. I have played with tomcat for a while and i feel quite confident with it. Now Im proceeding to my next step adding tomcat to apache which for now is moving along nicely. My question now is how would I go about making apache my real server rather than making it run simply as a localhost? How would I obtain an IP address? Could someone guide me in the right direction.
Thank u all for your time
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15641
    
  15

Apache is normally DISTRIBUTED as your "real" server. By which I mean that the default config files for most Apache distros are set to have it come up on the standard HTTP port (port 80). Most of the Tomcat distros come up serving on ports such as 8080 or 8180.
Making a server accessible via the Internet is mostly a matter of having it able to pass traffic through firewalls. For example, a lot of the consumer ISPs don't let you serve traffic outbound via Port 80. To be visible as, say "www.mysite.com", you'd need to register mysite.com with a domain registrar such as Verisign and set up one or more Domain Name Servers that would translate "www.mysite.com" to your (hopefully fixed) IP address.
Frontending a Tomcat server with Apache requires use of one of the available Apache-to-Tomcat connectors such as coyote, mod_jk, mod_jserve or mod_webapp. However, unless you actually NEED Apache-specific features, you can simply reconfigure Tomcat's server.xml file to serve up HTTP on port 80 and then you don't need either Apache or the connectors - Tomcat will act as your web server.


Customer surveys are for companies who didn't pay proper attention to begin with.
john mattucci
Ranch Hand

Joined: Nov 03, 2000
Posts: 331
thanks tim, that really helped
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how would i go about making apache my actual server
 
Similar Threads
Help with Java Web Start
Tomcat Error
Jobs in Canada
JSP and Servlets on apache
Deploying my web service