Report this

What is the reason for this report?

Redirect WWW to NON-WWW - Ghost 1 Click Install

Posted on November 12, 2017

So have followed this guide: https://www.digitalocean.com/community/tutorials/how-to-set-up-the-digitalocean-ghost-one-click-application-for-ubuntu-16-04

All works fine apart from when I try and visit the site with www in the URL.

All the browser says is “Safari cannot open the page because it could not establish a secure connection to the server”

What else do I need to do to redirect WWW to NON-WWW?

I have created an A Record for the WWW in the Domains section of the droplet.

I have also tried editing MYDOMAIN.co.uk-ssl.conf and MYDOMAIN.co.uk.conf adding the www url to the server_name entry and getting the same error.

Please help :(

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Start building today

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.