Basically, everywhere you see "localhost", change it to "my.domain.com". ;)
The alternative, or if you have more than one virtual host, is to copy the
entire localhost Host container in server.xml, and change "localhost" to
"my.domain.com".  This will preserve the localhost configuration.  

John

> -----Original Message-----
> From: Chris Fowler [mailto:[EMAIL PROTECTED]
> Sent: Friday, February 28, 2003 11:47 AM
> To: [EMAIL PROTECTED]
> Subject: Running outside of localhost
> 
> 
> Hi all,
> 
> I am a complete newbie to tomcat and apache. I have followed John's
> excellent Windows 2000/XP - Apache + JK + Tomcat HOWTO and all works
> well. AS sugested I have used localhost throughout the installation.
> What do I need to do so I can serve .jsp's to clients outside my
> machine. For example if I use:
> 
> http://localhost/examples/jsp/index.html
> 
> All works well. But if I replace local host with machine_name.domain I
> get a 404 error. This is probably a really dumb question to 
> ask, but can
> somebody point me in the right direction.
> 
> Thanks,
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to