Decouple ip/port from apache-php section so that we actually can request the frontend before deploying apache.
Allow to give application-dependent parameters to application configuration file.
Use customization of lamp stack to fetch frontend url.