Hey guys,
Just finished installing fresh discourse on a fresh subdomain on Ubuntu 22.04 LTS, with NO errors at all but got this instead of the login page:
Any ideas what went wrong??
spectre successfully installed Discourse on Ubuntu 22.04 LTS but encountered a default Nginx success page instead of the Discourse login screen. After confirming DNS propagation and reusing a previously used subdomain, spectre suspected IP conflict, noting two IPs via v-list-sys-ips — one private (172.17.0.1) and one public (15.96.43.123). RGJ questioned possible dual DNS entries. Stephen clarified that the issue isn’t dual IPs but that the private IP (172.x) is not externally reachable — only the public IP is valid for external access. He advised disabling the other web server temporarily to isolate Discourse, then setting up a reverse proxy later to serve both applications. Both Nginx and Apache configs tested fine, indicating no syntax issues. The core issue is routing: Discourse must be accessible via the public IP, and if another service already uses it, proxying is required. spectre seeks guidance on assigning Discourse to the private IP — which Stephen explains is not feasible for external access — and is directed to Meta guides for proxy configuration.
Are you sure your dns has propagated?
Yes, they’re pointing to correct sub besides, I’ve used this subdomain before a few weeks ago and wanted to reuse it again but had that on my face instead of the real site ![]()
![]()
Maybe you have both the old and the new DNS entry?
Sorry for the late reply and to follow up on this issue, I ran the command:
v-list-sys-ips
and it came up with:
IP MASK NAT STATUS WEB DATE
172.17.0.1 255.255.0.0 no shared 0 2022-11-09
15.96.43.123 255.255.255.0 no shared 2 2022-11-09
The problem is with the second IP is taking over the 2 domains.
How can I put discourse on the first IP and leave the other web-server as it is on the second one??
I also, ran these and came up good or ok:
nginx -t
nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
nginx: configuration file /etc/nginx/nginx.conf test is successfulapachectl configtest
Syntax OK
Any help would be appreciated greatly ![]()
That isn’t the problem here at all.
Your server doesn’t have two external IP addresses, it has two IPs in different networks. The first (172.x) is part of a private IP range and it isn’t addressable externally.
The second is the public IP assigned to your server. Your applications are correctly attached to the externally addressable IP.
To make this work you’re going to need to proxy Discourse behind the other web server, there are guides here on meta on doing this. For now I would disable the other web server and focus on getting Discourse running to your satisfaction, then configure the proxy.