Nginx and Apache stopped on boot (AWS)
Nginx and Apache stopped on boot (AWS)
I have 2 copies of instances up and running on AWS - EC2 namely:
1. Instances-1
2. Instances-2
Vesta installation on Instance-1 is working properly, it can serve the website correctly and as intended.
I am then proceed to experimenting on Elastic Load Balance. So what i did is i make an exact copy of Instance-1 and call it Instance-2.
It appears both Nginx and Apache2 won't start on boot. And when i tried to start it manually, i always get an error message that says Nginx failed to start.

i already make sure that:
1. nginx has higher init.d value than apache
2. no one is currently listening to port :80
Below are some SSH info

I've got a feeling that i need to bind the internal IP of my instance with my load balancer. But i don't know where to start.
Can anyone help me?
1. Instances-1
2. Instances-2
Vesta installation on Instance-1 is working properly, it can serve the website correctly and as intended.
I am then proceed to experimenting on Elastic Load Balance. So what i did is i make an exact copy of Instance-1 and call it Instance-2.
It appears both Nginx and Apache2 won't start on boot. And when i tried to start it manually, i always get an error message that says Nginx failed to start.

i already make sure that:
1. nginx has higher init.d value than apache
2. no one is currently listening to port :80
Below are some SSH info

I've got a feeling that i need to bind the internal IP of my instance with my load balancer. But i don't know where to start.
Can anyone help me?