tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Phillip Qin <Phillip....@shareowner.com>
Subject RE: Apache Web Server + Tomcat Integration with Domain Name?
Date Mon, 23 Jun 2003 13:41:13 GMT
If you use Apache + Tomcat, you need to replace server name in apache's
httpd.conf.

-----Original Message-----
From: Sam at Yahoo [mailto:samsuniverse@yahoo.com] 
Sent: June 21, 2003 2:01 PM
To: tomcat-user@jakarta.apache.org
Subject: Apache Web Server + Tomcat Integration with Domain Name?

Hi,

I've integrated my Apache Web Server and Tomcat Server
using John Turner's helpful HOWTO website 
http://www.johnturner.com/howto/winxp-howto.html.  I'm
running on Windows 2000.  

I followed the example using localhost and everything
works fine.  The following URLS work:

http://localhost  
http://localhost:8080/examples/jsp/index.html 
http://localhost/examples/jsp/index.html 

However, I do have a registered domain name that has 
DNS entry. I would like to make the following URLs
work:

http://www.mydomain.com
http://www.mydomain.com:8080/examples/jsp/index.html 
http://www.mydomain.com/examples/jsp/index.html

How do I make this work?  

I tried this in my server.xml but it didn't work:

      <Host name="localhost" debug="0"
appBase="webapps" 
       unpackWARs="true" autoDeploy="true">
<Alias>www.mydomain.com</Alias>
...

Can anyone help me, please?

-Sam


__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message