by Andrew Normore.
Typically, you'll need to modify the hostname.
This way, when you access lms.company.com or moodle.company.com - they both get treated as moodle.company.com
Basically, you're tricking Moodle.
OPTION TWO
Simply comment out the code that is giving you the error. Serve content regardless of access. I forget while file, but I've turned it off before with out dire consequences.