Verify the domain www.www. instead of www

Hi,
I’ve problems to create a certificate for my website. I want use it for the domains querblick-it.de and www.querblick-it.de. But the verification fail because the server want to conect www.www. instead of www. What is the problem?

Thank you very much :slight_smile:

Starting new HTTPS connection (1): acme-v01.api.letsencrypt.org
Renewing an existing certificate
Performing the following challenges:
http-01 challenge for querblick-it.de
http-01 challenge for www.querblick-it.de
Starting new HTTPS connection (1): 127.0.0.1
Waiting for verification…
Cleaning up challenges
Failed authorization procedure. www.querblick-it.de (http-01): urn:acme:error:connection :: The server could not connect to the client to verify the domain :: Could not connect to www.www.querblick-it.de
IMPORTANT NOTES:

  • The following errors were reported by the server:

Domain: www.querblick-it.de
Type: connection
Detail: Could not connect to www.www.querblick-it.de

To fix these errors, please make sure that your domain name was
entered correctly and the DNS A record(s) for that domain
contain(s) the right IP address. Additionally, please check that
your computer has a publicly routable IP address and that no
firewalls are preventing the server from communicating with the
client. If you’re using the webroot plugin, you should also verify
that you are serving files from the webroot path you provided.

Please fill out the fields below so we can help you better.

My domain is: querblick-it.de and www.querblick-it.de

I ran this command: plesk addon

It produced this output:

My operating system is (include version):

My web server is (include version):

My hosting provider, if applicable, is:

I can login to a root shell on my machine (yes or no, or I don’t know): yes

I’m using a control panel to manage my site (no, or provide the name and version of the control panel): Plesk Onyx
Version 17.0.17

What command are you running ? or is this the plesk plugin ?

If the latter it sounds like a bug in either the plugin or, possibly more likely, your domain configs for some reason. I’d suggest checking your apache config and seeing if there is a www.www in there.

For some reason you’ve got a redirect in place:

osiris@desktop ~ $ curl -v www.querblick-it.de
* Rebuilt URL to: www.querblick-it.de/
*   Trying 2a01:488:66:1000:57e6:15d7:0:1...
* Connected to www.querblick-it.de (2a01:488:66:1000:57e6:15d7:0:1) port 80 (#0)
> GET / HTTP/1.1
> Host: www.querblick-it.de
> User-Agent: curl/7.49.0
> Accept: */*
> 
< HTTP/1.1 301 Moved Permanently
< Date: Thu, 12 Jan 2017 09:30:40 GMT
< Server: Apache
< Location: https://www.www.querblick-it.de//
< Vary: Accept-Encoding
< Content-Length: 310
< Content-Type: text/html; charset=iso-8859-1
< 
<!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://www.www.querblick-it.de//">here</a>.</p>
<hr>
<address>Apache Server at www.querblick-it.de Port 80</address>
</body></html>
* Connection #0 to host www.querblick-it.de left intact
osiris@desktop ~ $ 

You probably want this redirect for querblick-it.de -> www.querblick-it.de, but apparently, it also redirects www -> www.www :stuck_out_tongue:

So check your Apache configuration (.conf file or .htaccess) for a broken redirect.

Thanks @Osiris. There was an error in the plesk configuration.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.