EPiServer DXC and HOSTS files with Cloudflare (error 1001)

The normal way of testing a site with the final domain url set in place is to spoof the DNS record by making a HOSTS file entry. As the public DNS record does not exist, I may add to my host file something like

production.company.com     123.123.123.123

in order to fake the production server at the IP address 123.123.123.123. This would naturally only work on my on PC but would be just fine to see all settings are correct before going live.

Once doing so, I received the error 1001 from Cloudflare, which stated that there was something wrong in the configuration.

I think the reason that this does not work is (uneducated answer warning) that Cloudflare makes a ‘reverse’ DNS lookup to confirm the target DNS record. And in the HOSTS file solution (as in internal DNS server configurations as well) this fails.

Too bad, this was such an easy way to test.

 

Advertisements

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s