Curl to nextcloud refers to cloud.owncloud.com

Hey guys.

If i curl my nextcloud domain it refers

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>301 Moved Permanently</title>
</head><body>
<h1>Moved Permanently</h1>
<p>The document has moved <a href="https://cloud.owncloud.com/">here</a>.</p>
<hr>
<address>Apache Server at nc.fankh.de Port 80</address>
</body></html>

Where can I cange or disable it?

My nextcloud is on version 12.0.3 and Ubuntu 16.04 which is managed by Plesk onyx.

I have to renew the Lets encrypt certificate, which isnt possible due to this redirection.

Looks like an OwnCloud Enterprise Edition installation (nc.fankh.de), not Nextcloud ?!

Nope, this is definitely the free version of nextcloud, no enterprise and no owncloud.

It’s something with your Apache or web server configuration then, nothing to do with the Nextcloud software directly. There is definitely no redirect anywhere in the NC software/code that would point to Owncloud.
Maybe some old redirect configured elsewhere or Plesk making problems.

If you open the https connection, your setup seems to be ok:
https://nc.fankh.de/index.php/login

I suppose your redirect from http is not correctly configured in your webserver.

I found it,

somehow in the Apache options it says

ServerName cloud.owncloud.com
Redirect permanent / https://cloud.owncloud.com/