What do you mean by this? Please clarify. It's very easy to have multiple ServerNames in a httpd.conf file...each VirtualHost container can have its own ServerName...which one, then, are you saying to "replace"?
John
On Mon, 23 Jun 2003 09:41:13 -0400, Phillip Qin <[EMAIL PROTECTED]> wrote:
If you use Apache + Tomcat, you need to replace server name in apache's httpd.conf.
-----Original Message-----
From: Sam at Yahoo [mailto:[EMAIL PROTECTED] Sent: June 21, 2003 2:01 PM
To: [EMAIL PROTECTED]
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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
