Determining the domain and directory location using late static bindings.