I apologize in advance for a question I’m sure has been asked before, but for the life of me I’m not able to find the answer. I just keep getting a ton of results that are not related to my issue.
I originally setup my test website at ParticleConsulting.com and later changed it to ParticleMarketing.com. This has given me a ton of headaches, but I’m through most of them. The last issue I have is that I cannot redirect traffic from ParticleConsulting.com to ParticleMarketing.com. Both have certificates on my Ubuntu/Apache Server and the only error I get from Google Chrome is, “ERR_CONNECTION_CLOSED”. I reached out to 1&1 and the said it had to do with a certificate/SSL issue and that the domain redirect was setup correctly on their end.
Can anyone point me in the right direction on how to go about troubleshooting this error?
Redirection is NOT a function of, nor controlled by, certificates.
What did you do to try to do the redirection?
I find this statement particularly confusing:
when given that the two names return two completely different sets of IP addresses:
Name: particleconsulting.com
Addresses: 2607:f1c0:100f:f000::21d
74.208.236.204
So when I tired going visiting www.particleconsulting.com in my browser this morning, it forwarded to particlemarketing.com! Then I tired particleconulsting.com and it failed… I tried it again with http VS https VS www VS non-www and got different results. But then… all of the different versions started working somehow? I’m getting really inconsistent results on the redirection. The error that came up when it failed was, “ERR_SSL_PROTOCOL_ERROR”.
Again I apologize if this is confusing; this isn’t my specialty and I’m waaaaay outside of my comfort zone on this one.
The redirection was setup via 1&1 a week or so ago just like the other unused domains I own. All of those forward correctly with no errors. Again, I verified this on their end to make sure I didn’t mess anything up and they confirmed the issue wasn’t on their side.
I ran the following command to show you that the server has multiple certificates, again I’m not 100% sure why it would come back with different IP addresses?
root@particleconsulting:~# certbot certificates
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Thank you so much for your help in clarifying this! Yes, I ran a new command to include the www. subdomain and it worked perfectly! (Unless you can see something on your end that says otherwise haha!)
Out of curiosity, how were you able to troubleshoot it to find out that info?
The CURL command has various parameters; one of which can show the headers of the URL queried.
[It is (typically) in the headers that one can see redirection.]
I also tried the URL in a browser and saw the error firsthand and confirmed it via SSLLabs.
I'm glad you got it all straightened out