I have a bitnami discourse running on AWS EC2. Recently I migrated the server, I backup the EC2 instance, then run it at other AWS place. All of the features of my Discourse is working well after migration, instead of attachment. I can upload the attachment, and the download link will show in the post correctly, but if I click the link, then I will get something wrong.
For example, my website is
www.abc.com, and my AWS inner IP is x.x.x.x, after uploading, I guess the correct link will be start with
www.abc.com/123.zip, but in my discourse, it's x.x.x.x/123.zip, so I cannot download it unless I replace the x.x.x.x to
I did some changes so I replaced x.x.x.x to
www.abc.com into some config files in server to try to solve it, they are:
But it is still wrong, please help me !