Question

url returns different page depending on www.rikroukens.com or rikroukens.com [GHOST]

Hi,

After installing my ghost on my droplet and connecting my url to it [www.rikroukens.com] my website appears to be working. However, when I type in rikroukens.com (so without prefix www.) it redirects to the “Please log into your droplet via SSH to configure your Ghost installation.” page. which is not present when going to www.rikroukens.com.

an A record is present directing rikroukens.com to the right droplet;

NS 	rikroukens.com directs to ns1.digitalocean.com.
NS 	rikroukens.com directs to ns2.digitalocean.com.
NS 	rikroukens.com directs to ns3.digitalocean.com.
A 	rikroukens.com directs to 206.189.96.242

Does anyone have any suggestions?

Thanks so much,

Rik
	
Subscribe
Share

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

Hello friend!

I am seeing the same content with and without www right now. However, the SSL certificate is only signed for www, you should probably make sure it is signed for both. When running LetsEncrypt certbot you pass the -d flag like this:

-d domain.com -d www.domain.com

Kind Regards, Jarland