add localhost mapping