fbctf
fbctf copied to clipboard
Can't access installation on AWS
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.
Did you change the AWS firewall to allow the connection?
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.

I am having the classic problem of " it worked locally on my Mac, now it doesn't work on the server"
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.