# Can't Connect to fresh install on SSH

**URL:** <https://help.nextcloud.com/t/cant-connect-to-fresh-install-on-ssh/125895>\
**Category:** 📦 Appliances (Docker, Snappy, VM, NCP, AIO)\
**Tags:** snap, nc21, apache\
**Created:** [October 23, 2021, 7:48am UTC](https://help.nextcloud.com/t/cant-connect-to-fresh-install-on-ssh/125895 "2021-10-23T07:48:58Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![anon75456558](https://help.nextcloud.com/letter_avatar/anon75456558/32/6_22734026db12803ebb3e059622ac3534.png) [@anon75456558](https://help.nextcloud.com/u/anon75456558)\
**Post date:** [October 23, 2021, 2:53pm UTC](https://help.nextcloud.com/t/cant-connect-to-fresh-install-on-ssh/125895/4 "2021-10-23T14:53:49Z")

</div>

> [@Gray.lott](#):
>
> I can’t even connect to the SSL post with a certificate warning, there is nothing there.

Did you add your subdomain as a Trusted Domain?

> [@HowTo: Add a new trusted domain](https://help.nextcloud.com/t/howto-add-a-new-trusted-domain/26):
>
> Trusted domains are used by Nextcloud to prevent [Host Header Poisoning](https://statuscode.ch/2015/02/a-tale-about-trusted_domains/). You need to specify every domain at which your Nextcloud can be accessed. This means if you have Nextcloud installed at “192.168.0.29” and also want it to be accessible at “[cloud.example.com](http://cloud.example.com)” you’d need to modify the trusted\_domains entry in your config/config.php. The initial config would look like the following: 'trusted\_domains' =\> array ( 0 =\> '192.168.0.29', ), To add a new domain just add new entries by ap…

---

_[View the full topic](https://help.nextcloud.com/t/cant-connect-to-fresh-install-on-ssh/125895)._
