Hi

> So if I add the following somewhere in my server.xml file the user that
types www.aa.com will be pointed to
http://myipaddress:8080/webapps/aa/index.jsp?

No.
As I have already said, there is NOTHING, you can to to archieve this.

The whole point is, that browsers assume any website running on port 80 as
long as not explicitly stated otherwise.
But you port 80 is blocked.

Your tomcat is BEHIND you firewall. As good as your configuration is and as
many settings you make, nothing of all this information will ever reach the
user's browser. Full stop. You can do NOTHING about that.

Furthermore,

> <Host name="www.aa.com" debug="0" appBase="webapps/aa"> ...
> </Host>

appBase specifies, where to look for webapps for that specific host. It does
not set something like a default application.
See servlet mappings and welcome file settings for such things.

> If I point the appBase="webapps/bb" how do I then point it at a specific
jsp?

This is included in welcome file.

> I cant test yet because I am still developing on localhost(my server is
not live yet).

Research how you could
- put you server outside your firewall
- open port 80
- tell all clients to use  https://...:8433/
otherwise you will never go live.

Regards,
  Steffen


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

Reply via email to