Eri Posted October 25, 2018 Share Posted October 25, 2018 (edited) I've been configuring a load balancer but I'm facing a issue I do not really know how to fix, I gave my load balancer my shop address : www.site.com and this will balance the load between x.x.x.1 and x.x.x.2 the issue is that once I reach the first server, the URL address will change from "www.site.com" to "x.x.x.1 or x.x.x.2" because of the redirection I have to write in PrestaShop configuration SEO & URL, how can PrestaShop keep the same URL to let it transparent for the users. Am I forced to have this redirection? Is there anything I am missing in the load balancer configuration or PrestaShop? PrestaShop 1.6 Edited October 25, 2018 by Eri (see edit history) Link to comment Share on other sites More sharing options...
joseantgv Posted October 25, 2018 Share Posted October 25, 2018 On 10/25/2018 at 11:18 AM, Eri said: I've been configuring a load balancer but I'm facing a issue I do not really know how to fix, I gave my load balancer my shop address : www.site.com and this will balance the load between x.x.x.1 and x.x.x.2 the issue is that once I reach the first server, the URL address will change from "www.site.com" to "x.x.x.1 or x.x.x.2" because of the redirection I have to write in PrestaShop configuration SEO & URL, how can PrestaShop keep the same URL to let it transparent for the users. Am I forced to have this redirection? Is there anything I am missing in the load balancer configuration or PrestaShop? PrestaShop 1.6 Expand I think that you have to set "www.site.com" in PS configuration and then add the relation x.x.x.1 www.site.com and x.x.x.2 www.site.com in each server's hosts file. Link to comment Share on other sites More sharing options...
Eri Posted October 25, 2018 Author Share Posted October 25, 2018 Thanks for your answer, I'll give it a try tonight. It is the first load balancer I am doing with PrestaShop and it is a bit difficult to find good article and good configuration about it on the interweb. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now