fbctf icon indicating copy to clipboard operation
fbctf copied to clipboard

Can't access installation on AWS

Open Insaida opened this issue 6 years ago • 3 comments

Installed successfully on AWS EC2 t2.micro. using this command:

./extra/provision.sh -m prod -s $PWD

I am at a loss on how to access it via my browser. I tried to use my IP address, but nothing works.

Also, how do I get to point it to my subdomain. for example, How do I get it to run on ctf.mydomain.com.

Apologies for my seemingly stupid questions.

Insaida avatar Mar 17 '18 21:03 Insaida

Did you change the AWS firewall to allow the connection?

pyrodie18 avatar Mar 19 '18 00:03 pyrodie18

Yes, I did. I figured out that what I did was edit the provision.sh file and added my custom domain before.

I removed that out, now it works. but now I get this error message.

screen shot 2018-03-19 at 1 09 51 am

I am having the classic problem of " it worked locally on my Mac, now it doesn't work on the server"

Insaida avatar Mar 19 '18 00:03 Insaida

Check /var/log/hhvm/error.log and see what it says:

$ grep -v translation /var/log/hhvm/error.log | tail -n 50

As for accessing it from your subdomain, you'd need to create a DNS record that points your subdomain at your IP, make sure nginx is configured with that domain, and you're using a correctly signed certificate.

JasonTarka avatar Mar 27 '18 15:03 JasonTarka