1

I am trying to setup an apache2 redirect from https://www.dolgins.com to https://dolgins.com and cannot get it working correctly. I followed this guide and have the A records pointed correctly. Here is a screenshot of my apache configenter image description here Here is my .htacess file located in the DocumentRoot folder:

RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]
RewriteRule ^(.*)$ https://%1/$1 [R=301,L]

Any ideas? Also, I want the URL to change. What would I need to do?

Thank you Joseph

Joe D
  • 297
  • 1
  • 12

0 Answers0