- Più recenti
- Maggior numero di voti
- Maggior numero di commenti
When you access 3 and 4 manually on the /images URL, does it have a default doucment in that directory that could be served back to the load balancer? Also does /images have the correct permissions for access? It may be a case that because you do not have an index.html in your /images folder (default document) the ALB is technically trying to perform a directory listing.
The ALB needs to be able to retrive a valid document(webpage) when accesing a folder. I would place a valid page that would be returned to the ALB or user in the images folder
The OTHER option is to add 404 as a Success code to the Target Group. This just means the webserver is responding but doesnt guarantee if your application is up or pages are not working
The 404 error means that the page being accessed doesnt exist on the webserver.. This points to my conclusion above
If this helps, please accept the answer so I know I have helped you, others and myself
Contenuto pertinente
- AWS UFFICIALEAggiornata 2 anni fa
- AWS UFFICIALEAggiornata un anno fa
I created the image folder in both instances server 3 and server 4.Inside that I have kept a simple html page. The default load balancer dns returns server 1 and 2 in target groups.But when typing this "alb-server-239838479.us-east-1.elb.amazonaws.com/images/index.html it does not open shows the error.
I got it now brother
All sorted?
yes know its working fine brother. Thanks for the help
If you think my answer helped, It would be great to accept it.. Glad its working now