force main domain if not debug