Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
How to switch from using naked domain to WWW
I set up my domains in the DNS to have www redirect to my naked domain: https://sitename.com
After doing a lot of research it seems that the better choice is to use the www. in the domain:
What do y'all suggest? I can easily tweak my DNS settings here to push naked domain to WWW. But my big concern is how to update these settings on Apache (through the one-click install that I did for Wordpress.)
I haven’t launched my site officially yet so I won’t have to deal with 301’s, but I’ve read that one would need to update the .htaccess file to do make the switch.
What else needs to be done?
Can someone outline all of the implications of making this switchover and what should be done to WP, the webserver (Apache), and also in my domains console with DO?
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.×