Is using own FQDN with 3CX Standard possible? (instead of having XYZ.3cx.tld defaulting for provisioning?) (2024)

systemofapwne

Free User

Joined
Oct 21, 2020
Messages
2
Reaction score
0
  • Oct 24, 2020
  • #1

Hello,

I keep on struggling setting up 3CX with my own FQDN for my home/family.
The wizard simply does not show me any option to set my own FQDN but rather insists to create a XYZ.3cx.tld including the TLS certificates.
When using an auto-configuration file with own certificates, the wizard seems to ignore NeedFqdn=no too and errors out, that I did not have set a hostname (which is required only for NeedFqdn=yes)
But I rather would like 3CX to mainly use pbx.mydomain.tld for external access (that FQDN is under my control and has auto-renewed TLS certificates already)

To be honest, I don't really mind, if this XYZ.3cx.tld exists (or even expires). The issue I have is, that when provisioning phones, the QR code or the configuration file always points to XYZ.3cx.tld. And this seems to be not changeable via the UI.
Before I start digging deeper, I would like to know, if there is any possibility to get my own FQDN used without upgrading to Professional.

My system setup:
Running 3CX 16.0.6.655 in a docker container
License: 3CX Standard (Free)

Saqqara

Bronze Partner

Basic Certified

Joined
Mar 12, 2014
Messages
4,774
Reaction score
1,463
  • Oct 25, 2020
  • #3

As above,

But to save a lot of hassle in terms of installing a ssl certificate for you own fqdn I would still use a 3cx fqdn and let the 3cx system handle the fqdn for you

  • Is using own FQDN with 3CX Standard possible? (instead of having XYZ.3cx.tld defaulting for provisioning?) (4)

Reactions:

systemofapwne

cobaltit

Platinum Partner

Advanced Certified

Joined
Mar 22, 2012
Messages
6,738
Reaction score
2,323
  • Oct 25, 2020
  • #4

3CX FQDN's are fully managed and supported, so why are you trying to use your own? What exactly do you hope accomplish here?

  • Is using own FQDN with 3CX Standard possible? (instead of having XYZ.3cx.tld defaulting for provisioning?) (5)

Reactions:

systemofapwne and ConceptsWeb
See Also
What is IVR?

systemofapwne

Free User

Joined
Oct 21, 2020
Messages
2
Reaction score
0
  • Oct 25, 2020
  • #5

Thank you for all your replies.

It is sad to hear, that this is not possible in the Standard edition, since it looks like a minor feature.
But as said, I don't mind to have the 3CX.tld, since I can anyway use my own separately.
However, when you play around a lot and you basically reinstall 3CX a few times (like I did the past days), then you run into troubles: The wizard will always request new TLS certificates for the 3CX.tld, which can only be done 5 times per FQDN within a timespan of 7 days. But that is a minor issue (just switch TLDs)

My intention was actually to reverse-proxy 3CX via nginx, so I can add my own HTTP authentification ontop. I simply do not like a service exposed to the internet without additional authentification. And for my reverse proxy, I can definitely control the authentification strength (while for 3CX, I can't be sure about).
The issue is, that when I do this, the 3CX.TLD then points to my nginx-reverse proxy (and not 3CX itself), so nginx delivers the wrong TLS certificate for the wrong TLD and provisioning then fails.

But in the end, I was successful with an nginx subfilter rule, to replace the 3cx.tld with my.tld in the provisioning configuration. But this only works for the QR-Code, since I do not intercept the invitation mail. That might also be possible, but I don't really care. QR-Provisioning is all I wanted to work smoothly at my home.

Here is the filter rule I use:

NGINX:

 # Provisioning location ~* ^/(p|provisioning|myphone)/ { proxy_set_header X-Real-IP $remote_addr; proxy_set_header Host $host; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_pass https://pbx; proxy_ssl_verify off; # Must be off, so this nginx acceppts the TLS stream of 3CX no matter of the hostname #Subfilter proxy_set_header Accept-Encoding ""; # Tells the proxied server, that we do not support gzip -> gzip must be off for subfilters to work sub_filter 'pbx.3cx.TLD' 'pbx.MY.TLD'; # External FQDN rewrite sub_filter_once off; sub_filter_types text/html text/xml application/octet-stream; }

JohnS_3CX

Support Team

Staff member

3CX Support

Joined
Jan 4, 2019
Messages
13,552
Reaction score
3,045
  • Oct 26, 2020
  • #6

Since you are running the system in a non-supported method, there is no point in asking about using your own FQDN in the standard edition or the enterprise edition. Our implementation is effectively bypassed regardless of the license type.

  • Is using own FQDN with 3CX Standard possible? (instead of having XYZ.3cx.tld defaulting for provisioning?) (8)
  • Is using own FQDN with 3CX Standard possible? (instead of having XYZ.3cx.tld defaulting for provisioning?) (9)

Reactions:

systemofapwne and ConceptsWeb
Is using own FQDN with 3CX Standard possible? (instead of having XYZ.3cx.tld defaulting for provisioning?) (2024)
Top Articles
Latest Posts
Article information

Author: Nathanael Baumbach

Last Updated:

Views: 6292

Rating: 4.4 / 5 (55 voted)

Reviews: 94% of readers found this page helpful

Author information

Name: Nathanael Baumbach

Birthday: 1998-12-02

Address: Apt. 829 751 Glover View, West Orlando, IN 22436

Phone: +901025288581

Job: Internal IT Coordinator

Hobby: Gunsmithing, Motor sports, Flying, Skiing, Hooping, Lego building, Ice skating

Introduction: My name is Nathanael Baumbach, I am a fantastic, nice, victorious, brave, healthy, cute, glorious person who loves writing and wants to share my knowledge and understanding with you.