Fixed root path for secure domain when it doesn't match regular domain