• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Issue can not reach my second web server with plesk

encyde

New Pleskian
Hi,
Hope I can get help with this issue, it's might be easy for some to help me solve it. (I hope so)

Here is the story.

I have one web server running on Debian 10 with Apache with 5 sites hosted with no problem. Now I wanted to expand my network so I got me another server (number 2). I wanted a good hosting control panel and was told that Plesk is the best out there so I jumped on that train and bought me a license and installed Plesk on my machine with no single installation error.

Here is the thing I can't get working and I have trying for 3 days, almost 24/7 and my wife is getting pissed lol.

My FIRST server is using the most common http\https ports 80\443 and are opened in my firewall. I have opened the suggested ports that I was told from the plesk documentation I found online to use for my new server.

But when I try to connect to my domain that I have created with plesk I get a (ERR_CONNECTION_REFUSED)
But if I add the port (8880) after the hostname like mydomain.com:8880 it takes me plesk login page. But the thing is that I want to get to my created website on mydomain.com with no ports after the domain name and I can't get this working.

I have tested to shutdown Apache on my first server if that could interrupt anything but no luck there. I have been struggling with reverse proxy but I can't get that working ether.

So if anyone can tell me what I should look at first? and what the problem can be? I have one IP and it's static. I can allow root login on both machine to help me solve this problem. But I don't let anyone in, it must be admins or staff.

Thank you.

______________________________________________________________

summary of what I want to achieve

I want to run my FIRST webserver as normal. But I also want to use my Plesk server to also run as a webserver.
 
But when I try to connect to my domain that I have created with plesk I get a (ERR_CONNECTION_REFUSED)
But if I add the port (8880) after the hostname like mydomain.com:8880 it takes me plesk login page. But the thing is that I want to get to my created website on mydomain.com with no ports after the domain name and I can't get this working.

I just had a very similar problem.
Try wget --spider http://mydomain.com and wget --spider https://mydomain.com and check whether the IP addresses are correct.
In my case, I had an extra entry 127.0.1.1 www in /etc/hosts, but nginx didn't listen on that IP on port 443, thus Connection refused.
 
Back
Top