My name is Sebastiaan and i’ve been developing a website for a client locally on my pc.
My first time using the roots projects and I love the Trellis + Bedrock + Sage combination. Learned a lot from the roots projects!
I’m still a rooky, so i wanted to first experiment with a naked trellis+bedrock install online on a DigitalOcean droplet.
What i did:
I followed this tutorial: https://www.youtube.com/watch?v=Ls30HGKru8A. After the “ansible-playbook server.yml -e env=production” command, i visit the server and got a 500 Internal server error.
The /srv/www/example.com/logs/error.log is as follows:
2018/05/22 12:20:59 [error] 15617#15617: *1 rewrite or internal redirection cycle while internally redirecting to “/index.php”, client: 220.127.116.11, server: sebastiaan-dekker.nl, request: “GET / HTTP/1.1”, host: “sebastiaan-dekker.nl”
2018/05/22 12:21:02 [error] 15617#15617: *2 rewrite or internal redirection cycle while internally redirecting to “/index.php”, client: 18.104.22.168, server: sebastiaan-dekker.nl, request: “GET /favicon.ico HTTP/1.1”, host: “sebastiaan-dekker.nl”, referrer: “http://sebastiaan-dekker.nl/”
DNS & Nameservers
I got my domain registered on mijndomein.nl. There i changed the default DNS to point to the DigitalO droplet ip-adres (not sure if this is needed if you also change the nameservers, in order to use the DigitalO DNS).
At mijndomein.nl i also changed the nameservers to match those of the DigitalO nameservers (this was needed to activate the DigitalO DNS:
In DigitalOcean i added a domain to the droplet, which resulted in:
I posted the DNS changes i made, cause i’m not sure what the error implies. Could someone help me out please?