Make sure that SERVER_NAME = None (which is the default) is set in your settings file.
SERVER_NAME = None