Change default hostname to localhost