Point domain to nextcloud

I am just able to access by ip to nextcloud.

When i enter the domain it doesn´t show anything

‘datadirectory’ => ‘/srv/nextcloud/data’,
‘dbtype’ => ‘mysql’,
‘version’ => ‘18.0.3.0’,
‘overwrite.cli.url’ => ‘http://++++*************’, <- this doesn´t work

Either your http server isn’t configured properly or the DNS records are missing/wrong.

Do you use apache or nginx? Have you checked your domain configuration?