Use custom link names to get hosts without underscores (bug 1059718)

This is a workaround as Django still validates hostnames even if DEBUG=True (fixed in 1.7).