troubleshooting Question

apache rewrite rules old-dmain to new-domian

Avatar of Timothy Golden
Timothy GoldenFlag for United States of America asked on
Apache Web ServerSSL / HTTPS
5 Comments1 Solution98 ViewsLast Modified:
apache rewrite rules to redirect http(s) to
i made a custom  VirtualHost .conf file for apache for my old domian to redirect every request to httpS new domain but it isn't working...?
i get either the old host or some an invalid URL... both FireFox and Chome show errors like this:
The owner of has configured their website improperly. To protect your information from being stolen, Firefox has not connected to this website. The certificate is only valid for

a copy of the apache.conf VirtualHost config:

RewriteEngine on
RewriteCond %{SERVER_NAME} [OR]
RewriteCond %{SERVER_NAME} [OR]
RewriteCond %{SERVER_NAME} [OR]
RewriteCond %{SERVER_NAME}
RewriteRule ^ [END,NE,R=permanent]

Timothy Golden
Web Dev

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 5 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 5 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros