Bug Fix: Don't use the domain on error pages