# IP Conflicts on Caddy SSL

**URL:** <https://forums.rocket.chat/t/ip-conflicts-on-caddy-ssl/4728>\
**Category:** Community Support\
**Created:** [October 2, 2019, 1:08pm UTC](https://forums.rocket.chat/t/ip-conflicts-on-caddy-ssl/4728 "2019-10-02T13:08:07Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![ramsey](https://sea1.discourse-cdn.com/flex021/user_avatar/forums.rocket.chat/ramsey/32/1311_2.png) [@ramsey](https://forums.rocket.chat/u/ramsey)\
**Post date:** [October 19, 2019, 11:40pm UTC](https://forums.rocket.chat/t/ip-conflicts-on-caddy-ssl/4728/2 "2019-10-19T23:40:47Z")

</div>

This is related to [Snap caddy https](https://forums.rocket.chat/t/snap-caddy-https/2957).

I’ve encountered a similar issue where I’ve assigned a Digital Ocean _floating IP_ to a _Droplet_, and I’ve pointed my domain name to the floating IP. So, the value of `curl ipinfo.io/ip` doesn’t match `dig <domain-name> |grep -A1 ";; ANSWER SECTION:" |tail -1 | awk '{print $5}'`.

As a result, the following keeps failing:

```nohighlight
$ sudo snap set rocketchat-server https=enable
error: cannot perform the following tasks:
- Run configure hook of "rocketchat-server" snap (run hook "configure": Error: Your public IP doesn't match the one resolved for caddy-url, disabling https ...)

```

To fix it, I have to use the IP of the Droplet in my DNS settings for my domain instead of the floating IP, which makes the floating IP useless.

---

_[View the full topic](https://forums.rocket.chat/t/ip-conflicts-on-caddy-ssl/4728)._
