Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

Troubleshooting
Research
Professional Opinions
Ask a Question
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

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
Apache Web ServerAWS* redirect
3 Comments1 Solution19 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
Avatar of David Favor
David FavorFlag of United States of America imageFractional CTO
Commented:
This problem has been solved!
Unlock 1 Answer and 3 Comments.
See Answers