I tried install a Ghost CMS on a droplet, actually the installation looks like okay in terminal, but I can’t access my site to see it… I think the DNS is not propagated yet since It will complete 48hours today later. But I can’t access the blog using the ip address. Instead it returns to me “ERR_CONNECTION_REFUSED” What could I have done wrong? www.selvabim.com.br
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Hey @arnsoares ,
There are a lot of possible reasons why this could be happening. I would start with the following:
tail -n 20 /var/log/nginx/error.log
php -v
I hope this helps and feel free to keep the conversation going!
Best regards,
I tried a lot of things including destroying the droplet and creating another. I discovered that the problem was in the let’s encrypt configuration. So now, I think this is working and I am able to access the site.
But I am having another problem. I am having bad gateway when access my site using ‘www’ so. I can run this using just https://selvabim.com.br But not when I try https://www.selvabim.com.br
I am using an A record to “selvabim.com.br” directing to the IP Address “68.183.125.93” and two CNAME’s “www.selvabim.com.br” and “www.selvabim.com.br.selvabim.com.br” with value of “selvabim.com.br”
I add in the nginx configuration “sudo nano /etc/nginx/sites-available/default” server_name www.selvabim.com.br selvabim.com.br;
In ghost config url I added the: https://selvabim.com.br