troubleshooting Question

I need to redirect any http://www .domain.com site to http ://domain.com and https://www.domain.com to https://domain.com by using apache config or aws loadbalancer

Avatar of A A
A A asked on
* redirectAWSApache Web Server
3 Comments1 Solution20 ViewsLast Modified:
Hi experts
I have website as ec2  on aws and loadbalancer  that is working only on http://domainname.com and https://domain.com
but is not working with( www) so  not working  on both  http:// www.domainname.com and  https://www.domainname.com, so I am thinking to make redirection from https://www.domainname.com to https://domainname.com and from http://www.domainname.com to http://domainanme.com  through  apache config ht access or Aws loadbalancer.

waiting for your kind advice
ASKER CERTIFIED SOLUTION
David Favor
Fractional CTO
Join our community to see this answer!
Unlock 1 Answer and 3 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 3 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