How to change http:127.0.0.1:8000/sitemap.xml to https://domain.com/sitemap.xml in production?

23 views
Skip to first unread message

dum dum

unread,
Sep 25, 2020, 11:29:02 AM9/25/20
to django...@googlegroups.com
I can't access https://domain.com/sitemap.xml, because it gave me 404 error because the page not exist.
But in local http:127.0.0.1:8000/sitemap.xml works.

Any suggestions?
Thanks.

Kasper Laudrup

unread,
Sep 25, 2020, 11:39:41 AM9/25/20
to django...@googlegroups.com
Hi dum dum,

On 25/09/2020 13.27, dum dum wrote:
> I can't access https://domain.com/sitemap.xml, because it gave me 404
> error because the page not exist.
> But in local http:127.0.0.1:8000/sitemap.xml
> <http://127.0.0.1:8000/sitemap.xml> works.
>
> Any suggestions?

Look in your log files for details. That should give you a clue.

Kind regards,

Kasper Laudrup
Reply all
Reply to author
Forward
0 new messages