I have installed varnish on my server which uses magento.
the ports have changed so that varnish now runs on port 80 and magento runs on 8080,
there are certain features that will not work in the backend as the url is http://www.mystore.com/admin
but in fact the url to the store is http://www.mystore.com:8080/admin
can anyone help me change the backend port.
the feature that is not working is print packing slip, where i change the port in the javascript on the frontend it works. but there are tons of features so i need more than a quick fix
thank you
To change the admin url you go to the backend, go to
System > Configuration > Admin > Admin Base URLand change the settingUse Custom Admin URLto Yesand fill out
Custom Admin URLwith the URL including the port http://myDomain.com:8080/if you want your own path, you can do the same with
Use Custom Admin PathandCustom Admin PathAfterwards don’T forget to do a rm -rf on var/cache in magento dir.
And as the others already mentioned, don’t use varnish for the admin area, maybe you want to deactivate the reports for the users.