# CMS Not resolving after following SSL guide

**URL:** https://community.xibo.org.uk/t/cms-not-resolving-after-following-ssl-guide/32877
**Category:** CMS Features and Functionality
**Created:** [July 26, 2024, 11:32am UTC](https://community.xibo.org.uk/t/cms-not-resolving-after-following-ssl-guide/32877 "2024-07-26T11:32:59Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![mike\_taov](https://community.xibo.org.uk/user_avatar/community.xibo.org.uk/mike_taov/32/15713_2.png) [@mike\_taov](https://community.xibo.org.uk/u/mike_taov)
#### Post date: [July 26, 2024, 11:33am UTC](https://community.xibo.org.uk/t/cms-not-resolving-after-following-ssl-guide/32877/1 "2024-07-26T11:33:00Z")

</div>

To be completed by the original poster:

# CMS Version: 4.0.11

Specify the full CMS version you are using, including the revision number.

# Issue:

After following the guide here: [https://community.xibo.org.uk/t/xibo-cms-with-docker-on-ubuntu-22-04/9392](https://community.xibo.org.uk/t/xibo-cms-with-docker-on-ubuntu-22-04/9392)  
I’m unable to resolve the server using the FQDN on http or https, but I can get in via local IP so I’m a little confused.

Here is my Apache Default Site conf (I Removed the rewrites from Certbot after noting that it wasn’t working):

> Blockquote  
> \<VirtualHost \*:80\>  
> # The ServerName directive sets the request scheme, hostname and port that  
> # the server uses to identify itself. This is used when creating  
> # redirection URLs. In the context of virtual hosts, the ServerName  
> # specifies what hostname must appear in the request’s Host: header to  
> # match this virtual host. For the default virtual host (this file) this  
> # value is not decisive as it is used as a last resort host regardless.  
> # However, you must set it for any further virtual host explicitly.  
> ServerName [myddnsname.webhop.me](http://myddnsname.webhop.me)

```
    ServerAdmin webmaster@localhost
    DocumentRoot /var/www/html

    # Available loglevels: trace8, ..., trace1, debug, info, notice, warn,
    # error, crit, alert, emerg.
    # It is also possible to configure the loglevel for particular
    # modules, e.g.
    #LogLevel info ssl:warn

    ErrorLog ${APACHE_LOG_DIR}/error.log
    CustomLog ${APACHE_LOG_DIR}/access.log combined

    # For most configuration files from conf-available/, which are
    # enabled or disabled at a global level, it is possible to
    # include a line for only one particular virtual host. For example the
    # following line enables the CGI configuration for this host only
    # after it has been globally disabled with "a2disconf".
    #Include conf-available/serve-cgi-bin.conf

    ProxyPreserveHost On
    RequestHeader set X-Forwarded-Proto expr=%{REQUEST_SCHEME}

    ProxyPass / http://127.0.0.1:8080/
    ProxyPassReverse / http://127.0.0.1:8080/

```

Here's the dockers ![image|690x103](upload://82vI5ZqxWarfDMFwaHcrZAts5Kv.png)

And my custom-ports.yml  
version: “2.1”

services:  
cms-db:  
image: mysql:8.0  
volumes:  
- “./shared/db:/var/lib/mysql:Z”  
restart: always  
environment:  
- MYSQL\_DATABASE=cms  
- MYSQL\_USER=cms  
- MYSQL\_RANDOM\_ROOT\_PASSWORD=yes  
mem\_limit: 1g  
env\_file: config.env  
cms-xmr:  
image: [Package xibo-xmr · GitHub](http://ghcr.io/xibosignage/xibo-xmr:0.11)  
ports:  
- “9505:9505”  
restart: always  
mem\_limit: 256m  
env\_file: config.env  
cms-web:  
image: [Package xibo-cms · GitHub](http://ghcr.io/xibosignage/xibo-cms:release-4.0.11)  
volumes:  
- “./shared/cms/custom:/var/www/cms/custom:Z”  
- “./shared/backup:/var/www/backup:Z”  
- “./shared/cms/web/theme/custom:/var/www/cms/web/theme/custom:Z”  
- “./shared/cms/library:/var/www/cms/library:Z”  
- “./shared/cms/web/userscripts:/var/www/cms/web/userscripts:Z”  
- “./shared/cms/ca-certs:/var/www/cms/ca-certs:Z”  
restart: always  
environment:  
- MYSQL\_HOST=cms-db  
- XMR\_HOST=cms-xmr  
- CMS\_USE\_MEMCACHED=true  
- MEMCACHED\_HOST=cms-memcached  
env\_file: config.env  
ports:  
- “127.0.0.1:8080:80”  
mem\_limit: 1g  
cms-memcached:  
image: memcached:alpine  
command: memcached -m 15  
restart: always  
mem\_limit: 100M  
cms-quickchart:  
image: ianw/quickchart  
restart: always

---

<div class="post-metadata">

### Author: ![mike\_taov](https://community.xibo.org.uk/user_avatar/community.xibo.org.uk/mike_taov/32/15713_2.png) [@mike\_taov](https://community.xibo.org.uk/u/mike_taov)
#### Post date: [July 26, 2024, 1:19pm UTC](https://community.xibo.org.uk/t/cms-not-resolving-after-following-ssl-guide/32877/3 "2024-07-26T13:19:16Z")

</div>

If I forward 443 to the server, then it works, however we need 443 for another machine, are there any workarounds?

---

<div class="post-metadata">

### Author: ![Jon\_Knowles](https://community.xibo.org.uk/user_avatar/community.xibo.org.uk/jon_knowles/32/12923_2.png) [@Jon\_Knowles](https://community.xibo.org.uk/u/Jon_Knowles)
#### Post date: [July 26, 2024, 2:23pm UTC](https://community.xibo.org.uk/t/cms-not-resolving-after-following-ssl-guide/32877/4 "2024-07-26T14:23:37Z")

</div>

I would use nginx setup as a reverse proxy and use the multiple upstream to handle multiple internal servers that need to run on a single external IP.

That way Nginx does all the ssl/tls offloading, makes your certificate renewals much easier and allows your applications to use their resources more efficiently.

Are you running xibo + whatever else on an office network or home network with a single external IP?

I use nginx for this as well as load balancing for years and it works very well.

> **[NGINX Reverse Proxy | NGINX Documentation](https://docs.nginx.com/nginx/admin-guide/web-server/reverse-proxy/)**
>
> Configure NGINX as a reverse proxy for HTTP and other protocols, with support for modifying request headers and fine-tuned buffering of responses.

---

<div class="post-metadata">

### Author: ![mike\_taov](https://community.xibo.org.uk/user_avatar/community.xibo.org.uk/mike_taov/32/15713_2.png) [@mike\_taov](https://community.xibo.org.uk/u/mike_taov)
#### Post date: [July 29, 2024, 8:09am UTC](https://community.xibo.org.uk/t/cms-not-resolving-after-following-ssl-guide/32877/5 "2024-07-29T08:09:29Z")

</div>

Yes, Just hosting it from our HQ for some digital signage on our tills and eventually our TVS, I do plan on having a dedicated IP for it and an actual server as well.

---

<div class="post-metadata">

### Author: ![system](https://community.xibo.org.uk/uploads/default/original/2X/a/a8759c2d8cc561474733895ac75beeb830f5d8ca.png) [@system](https://community.xibo.org.uk/u/system)
#### Post date: [October 28, 2024, 2:10pm UTC](https://community.xibo.org.uk/t/cms-not-resolving-after-following-ssl-guide/32877/6 "2024-10-28T14:10:12Z")

</div>

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.
