Changing hosting IP address gives 522 error connection timeout


#1

Hi,

I am facing some weird issue.
Earlier i was hosting my site in shared hosting platform.
Now i have moved to AWS VPS, after configuring servers, now i am facing issue while redirecting traffic from old server to new server.

My default website is available over VPS ip address.
When i changed elivein.com to point to new ip address. It is giving 522 error.
But if i create a new a record and point a subdomain to vps, it is working fine.

Could you please help urgently, as my existing shared hosting is very slow and new server is not usable if i cannot point it to.

Domain Name: elivein.com
sub domain point to new server vps.elivein.com

Regards,
Sumit.


#2

Die you changes something? The first one works fine dir me.

If you have paused Cloudflare, it makes it harder to troubleshoot.

A good start to troubleshoot 522 is. Usually it’s a firewall or rate limiting.


#3

I changed the ip address to old server just to keep the domain up.
Please try now. I already checked the 522 basic curl test and i can see the site xml popping up.

I reverted the same back to new vps ip address.

Please try now.

Regards,
Sumit.


#4

Hi Mark,

I further drill down the issue and found the issue is with https traffic specifically.
If am connecting http://www.elivein.com/ it is working but for https://www.elivein.com/ it is not working.

This problem is when i am changing the a record elivein.com from old ip new ip.
Https working without any problem for my shared hosted ip(old one).

Please help me to resolve this issue.

Regards,
Sumit.


#5

Can you access your page via it’s new IP on port 443?

123.456.789.9:443


#6

Hi Mark,

I can access the webpage at http(port 80) but not inhttps.
Port 443 seems to be not opened.
I tried to create inbound/outbound rules under firewallconfiguration but after that also unable to telnet to port 443.
Please advise me to fix the issue.

Thanks,
Sumit


#7

Make sure your webserver is configured to serve content on port 443

Apache
https://debian-administration.org/article/349/Setting_up_an_SSL_server_with_Apache2

nginx

IIS
https://support.microsoft.com/de-de/help/324069/how-to-set-up-an-https-service-in-iis


closed #8

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