Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 171123
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T12:55:53+00:00 2026-05-11T12:55:53+00:00

I have an RSS feed that I’m setting up on my new site using

  • 0

I have an RSS feed that I’m setting up on my new site using Django. Currently I have an RSS feed being served per user, rather than just one big nasty, global RSS feed. The only problem is that the links that are returned by the RSS feed have the completely wrong domain name in the links. The end path is perfectly correct, and the get_absolute_url method seems to work everything else in my applications, just not here. You would think I’d be getting the default ‘www.example.com/item/item_id’, but instead I get another domain that’s hosted on this server. At first I was thinking it was just pulling the hostname of the server, but it’s not. It’s also not pulling what the SITE_ID is set to either. Django docs say that the feeds will pull the domain from the SITE_ID setting, but it’s just not. I’ve grepped my entire application for the domain it’s pulling, and found absolutely nothing.

I’m sure I’m missing something simple, but for the life of me I can’t deduce it. The domain it’s building the URLs with simply doesn’t exist anywhere in the application’s code or database. So where on Earth is it coming up with the domain?

UPDATE:

ServerName in Apache was set to the domain that I was seeing being used by the RSS Feeds to build the URLs. I changed that, and restarted Apached, wrong domain still in use. Any other ideas on how to force Django to use the right domain?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-11T12:55:54+00:00Added an answer on May 11, 2026 at 12:55 pm

    May be it’s coming from environment variables? Try:

    export | grep your.mistery.domain 

    see if that comes up with anything, do that as the same user under which you are running your Django apps.

    You know you can always implement your item_link() method which would return the URL that you want, see documentation here

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a site that has an Rss feed, and this feed is consumed
I have links being generated by an RSS feed that lead to nowhere for
I have an HTML structure that is being pulled from an RSS feed, and
I have a dynamically generated rss feed that is about 150M in size (don't
I have a shared site in sharepoint and have some RSS feed webpart in
I have a ready RSS atom feed on my ASP.net site,but I want to
I have an ugly druple-gardens RSS feed coming into flash and I'm using the
I have a problem for parsing a rss feed using c#. I used to
I am trying to parse an rss feed that is using the well formed
I have an RSS feed, users will be using it to rip content to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.