The domain won't redirect without the www

June 26, 2019 1.7k views
CentOS Apache DigitalOcean DNS

I’ve followed the tutorial to make my registrar (Namecheap) point to DigitalOcean.
If you follow the link www.jmarinhn.com it’ll work properly, however, if you just type jmarinhn.com it won’t work.
What am I doing wrong?

2 Answers

Hi there @jdmarinv,

It looks like both www.jmarinhn.com and jmarinhn.com are now resolving correctly to your website!

We would love to know what the issue was that you were experiencing so that it may be able to help others in the future?

Was it a DNS propagation issue, a server configuration issue?

- Matt.

DNS Propagation issue.
But after all a server config. issue, too. I made an .htaccess file to handle those redirections by myself once the Propagation was completed to avoid issues.

Have another answer? Share your knowledge.

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