can't find deployed web app in browser
Hi
I'm sure I'm missing something really easy, I'm new to web design.
I have just deployed a simple web app on my server. Now the war file unpacked properly and I can see my index.html file where it is supposed to be.
However when I try to go in my browser to the address: mywebsite.com/myApp/index.html I get a 404 webpage not found error.
When I deploy the app on my local computer everything runs fine so I know that my war file and my web pages work.
Could anyone please tell me what I've forgotten to do?
Thanks loads
[570 byte] By [
Aharona] at [2007-11-27 9:25:58]

# 1
> Hi
> I'm sure I'm missing something really easy, I'm new
> to web design.
> I have just deployed a simple web app on my server.
> Now the war file unpacked properly and I can see my
> index.html file where it is supposed to be.
> However when I try to go in my browser to the
> address: mywebsite.com/myApp/index.html I get a 404
> webpage not found error.
> When I deploy the app on my local computer everything
> runs fine so I know that my war file and my web pages
> work.
>
> Could anyone please tell me what I've forgotten to
> do?
> Thanks loads
Which server are you running? you need to include the port (or have port fowarding/redirection setup to redirect the url to the port). If your using tomcat or something similar try the port 8080.
e.g.
mywebsite.com:8080/myApp/index.html
# 4
> Thanks!,
> as you said I needed to include the port.
>
> How would I do port forwarding? It looks funny that
> the url has to have the port numbers at the end.
It depends on who/how your site is hosted. Normally there is an option on the admin screen for your server.
Glad it helped though ;-)