The box does have a static IP. Pinging www.mycompany.com does resolve to my static IP address.
Actually, I have 3 websites/domain names that point to my static IP address and I'd like to use JSP & Struts on all 3. Right now, I'm trying to get 1 to work then I'll go with the others. -----Original Message----- From: JD Daniels [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 19, 2003 6:00 PM To: Tomcat Users List Subject: RE: Virtual Host - IIS and DNS I have set up Tomcat as a 'web farm'. Basically, it does not matter whos DNS nameserver www.mycompany.com is registered with, as long as the ip address that nameserver resolves it to is the ip of the machine you have tomcat/yourapp on. You do not need to run your own nameservers. What matters is: ping www.mycompany.com pinging www.mycompany.com [xxx.xxx.xxx.xxx] with 32 blah blah - If the xxx is the ip of machine you have tomcat on, you are good to go. The host containers are useful so that you can run virtual ips/domains. If you only have one domain, don't worry about it. I run one linux box with many different (virtual) ips, which resolve to different domains. The host container serves the correct servlets for the right domain. Does your box have a static ip? JD -----Original Message----- From: John Ruffin [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 19, 2003 2:32 PM To: 'Tomcat Users List' Subject: Virtual Host - IIS and DNS TC 4.1.18, W2K Server, IIS 5 I have a question about this (copied from the TC docs): The Host element represents a virtual host, which is an association of a network name for a server (such as "www.mycompany.com" with the particular server on which Catalina is running. In order to be effective, this name must be registered in the Domain Name Service (DNS) server that manages the Internet domain you belong to My question is: Why does www.mycompany.com have to be registered in the "DNS server" that manages the Internet domain I belong to. In my limited knowledge, I was thinking that as long as www.mycompany.com points to my webserver - DNS could be hosted on any DNS server. Therefore any request that comes to www.mycompany.com/webappname would resolve and forward to TC. Now, since my ISP hosts my DNS and I have TC running on the box will, www.mycompany.com/webappname not work unless I host my own DNS? <background> localhost/webappname works can get www.mycompany.com/webappname to work - I get a 500 error in Explorer in the logs I don't see any errors - isapi.dll seems to be using my worker from worker.properties - yes, I looked in the IIS logs too - can't determine what's causing this. </background> ************************************************************ The information in this email is confidential and may be legally privileged. It is intended solely for the addressee, and access by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. If you believe that you have received this email in error, please advise us by calling (901) 385 3688, or emailing [EMAIL PROTECTED], and then delete this message and all copies and backups thereof. Thank you. ************************************************************ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ************************************************************ The information in this email is confidential and may be legally privileged. It is intended solely for the addressee, and access by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. If you believe that you have received this email in error, please advise us by calling (901) 385 3688, or emailing [EMAIL PROTECTED], and then delete this message and all copies and backups thereof. Thank you. ************************************************************