website not redirecting to www.

Posted December 14, 2018 889 views
DNSUbuntu 16.04

My website loads fine at both “” and “” however I want it to always redirect to “” everytime I believe I have my CNAME configured correctly as the HOSTNAME “” is an alias for “”

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.

Submit an Answer
1 answer

Hey friend,

This can be done in a .htaccess file if mod_rewrite is enabled.