Using external Domain in the browser address line

Hi,

we have moved a discourse installation to an internal VM, where SNI is used. (The VM has no unique IP4 address.) Therefore we have used CNAME for the external domain that has been forwarded to the VM.
The forwarding itself works well, the visitor see however the internal cryptic hostname in the address line instead of the productive URL they had opened previously.

Is there any way to use the external domain in discourse?

Thank you for a short confirmation.

Best regards

I.

  1. there is no reason to use a CNAME because SNI is being used
  2. if the visitor sees the internal hostname then you probably did not use a CNAME at all, you set up some kind of redirection.

Please share the exact hostname if you need further advice.

1 Like

Hi Richard,

thank you very much for your answer.

The IT of the university has informed us, that CNAME is the option we have …

This is how I have configured:

discourse

Regards

I

You need to use discourse.itas-karlsruhe.de as the hostname in app.yml, not the internal name.

See Change the domain name or rename my Discourse?

Thank you very much, it has helped :slight_smile: