I had the same problem. There are some relative paths but also some absolute paths in ISPConfig.
My question to all the developers of ISPConfig:
Wouldn't it possible to have only relative paths? So we could solve this problem...and no links that are linked with the hostname entered in the installing process..?
e.g. the point "Services" in the nav-bar etc.