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
	

Submit an answer

This textbox defaults to using Markdown to format your answer.

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

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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