Link to home
Start Free TrialLog in
Avatar of A A
A A

asked on

configure website to use loadbalancer name as it is keep changing

Dear Team
kindly I have 2 ec2 instances that host websites behind loadbalancer and I need to map  website dns to loadbalancer name  as its ip is changing  but unfortunately A record of domain  have to point to IP address as it doesnot accept name from loadbalancer .
SOLUTION
Avatar of Yujin Boby
Yujin Boby
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of A A
A A

ASKER

Thank you for your kind replies
kindly how can then I  set a redirect in web server to url with www. 
You're welcome!
Avatar of A A

ASKER

kindly David  ,how can then I  set a redirect in web server to url with www 
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of A A

ASKER

Thank Yujin

could you please to explain this point so to be fully aware of my options as

 "you can handle this on application side by adding few lines of code, that look for current URL used to access site"
waiting for your reply
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of A A

ASKER

Thanks Yujin and David for your support 
You're welcome!
If you have challenges getting your redirect working, open another question.

Be sure to include what Webserver you're using, as redirect syntax is Webserver dependent.