Updated aft-web to get host using hostname