Skip to content

Accessing feeds on the same server (& DNN)

by on July 11, 2011

So you want to display a feed from your site, on another site on the same server. Sounds simple, but you keep getting errors. For example, DNN’s News Feed (RSS) module may report “Feed ‘xxx’ could not be loaded. Error: Download error”.

This is most likely because on the server, the feed cannot be accessed. Try navigating to it via a browser on the server of your site. If you cannot get there, you may need to add an entry into your Hosts file on the server.

Add a site entry to you server hosts file

  1. Go to the server (RDP, etc.)
  2. Navigate to C:\Windows\System32\drivers\etc and open the “hosts” file with notepad
  3. Add an entry using the internal IP address, not the external. You can find this by looking at the site Bindings in IIS 7 (aka host headers). You may want to include the www and non-www address if your site employs both. Include any other domains that users may access your site with just in case – though at this point most people are using a canonical domain
  4. Save the hosts file
  5. Refresh your feed page
  6. The Error should be gone!
Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in: Logo

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

Google+ photo

You are commenting using your Google+ 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 )


Connecting to %s

%d bloggers like this: