Server Not Found Error

Support intro

Sorry to hear you’re facing problems :slightly_frowning_face:

help.nextcloud.com is for home/non-enterprise users. If you’re running a business, paid support can be accessed via portal.nextcloud.com where we can ensure your business keeps running smoothly.

In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:

example

Or for longer, use three backticks above and below the code snippet:

longer
example
here

Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can :heart:

Nextcloud version 17.0.1
Operating system and version: Ubuntu 18.04 Server
Apache or nginx version nginx 1.14.0
PHP version 7.2

The issue you are facing:

I’ve recently setup Nextcloud on a VPS and it’s been live for 24 hours or so. I’ve uploaded lots of data over the last day but this afternoon I received the following error from my Ubuntu client app - "No connection to Nextcloud at https://nextcloud.example.com. Host nextcloud.example.com not found."
Then a few moments later the browser app stopped working and I just have a server not found error in my browser when I attempt to connect to my domain.
My VPS is working fine, I can SSH into the server and see all of the nextcloud config.

Is this the first time you’ve seen this error? Yes

Steps to replicate it:

  1. Use the browser to connect to nextcloud.
  2. Use the nextcloud client app to sync files.

The output of your Nextcloud log in Admin > Logging:

Unable to retrieve.

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

$CONFIG = array (
  'instanceid' => '#####',
  'passwordsalt' => '#####',
  'secret' => '#####',
  'trusted_domains' => 
  array (
    0 => 'nextcloud.example.com',
  ),
  'datadirectory' => '/usr/share/nginx/nextcloud-data',
  'dbtype' => 'mysql',
  'version' => '17.0.1.1',
  'overwrite.cli.url' => 'https://nextcloud.example.com',
  'dbname' => 'nextcloud',
  'dbhost' => 'localhost',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'dbuser' => 'nextclouduser',
  'dbpassword' => '###',
  'installed' => true,
  'memcache.distributed' => '\\OC\\Memcache\\Redis',
  'memcache.local' => '\\OC\\Memcache\\Redis',
  'memcache.locking' => '\\OC\\Memcache\\Redis',
  'redis' => 
  array (
    'host' => 'localhost',
    'port' => 6379,
  ),
  'mysql.utf8mb4' => true,
  'maintenance' => false,
);

The output of your Apache/nginx/system log in /var/log/____:

Sorry, not sure which file it should be from those available in /var/log/ or var/log/nginx