Server Issue: Bug Fix a Wordpress Website on an AWS-EC2 server
- or -
Post a project like this1016
£10/hr(approx. $12/hr)
- Posted:
- Proposals: 18
- Remote
- #3306731
- Awarded
Web & Apps Development || Python || Drupal
Delhi
Senior Full Stack Web Developer | WordPress Developer l Laravel Scientist l MERN STACK Expert
Islamabad
Microsoft Azure Office 365 Sharepoint Google Workspace Online Marketing Consultant,
Brighton
Graphic Designer, Web Development, Mobile App Development, Designing, Digital Marketing, Logo Designing
Surat
Top rated PHP Web Development | WordPress | Magento | Drupal | OpenCart | PrestaShop | Joomla
Leicester
4132203231025756939145543141482610433206242803772276831223922181564516341891050754
Description
Experience Level: Entry
Hi,
my website is down and I'm not sure how to diagnose the problem. I hope you can help.
Please bear with me - this is a long email, but I want to give you as much info as I can.
Domain: www.chi2innovations.com
Registered at: 123-Reg
Wordpress site is housed on an AWS-EC2 server.
A couple of years ago we changed the Nameserver to point to CloudFlare and have been using their CDN ever since.
Now we have decided not to use CloudFlare any more, so my plan for moving back was:
1. Install a Let's Encrypt certificate on our Amazon instance
2. Check that everything was still working at CloudFlare
3. Reset the Nameservers at 123-Reg
4. Check the website was still working
5. Feel smug, have the rest of the day off and pour myself a cold one
Alas, you know what they say about the best-laid plans!
OK, let's go through what I did.
------------------------------
Step 1 - install Let's Encrypt
------------------------------
I have SSH access to the server, so I used the Certbot ACME client.
Step 1: install snapd (successful)
Step 2: install Certbot (successful)
Step 3: run Certbot to get a certificate (successful)
Step 4: test automatic renewal (successful)
-----------------------
Step 2 - check the site
-----------------------
Unfortunately, this is where the problems began.
My site went down and I discovered I had a redirect loop error, and subsequently found out that this is a common issue when using a Let's Encrypt certificate with Cloudflare. I identified a convoluted solution at Cloudflare to 'fix' my server to a weird configuration so that Cloudflare would work with Let's Encrypt, but since I'm moving away from Cloudflare there was no point doing this.
So we move onto:
-----------------------------------------
Step 3 - Reset the Nameservers at 123-Reg
-----------------------------------------
This was easy - 1 click and it was done!
--------------------------------------
Step 4 - Check the website was working
--------------------------------------
After leaving a few hours to propagate, the site is not showing a Cloudflare error any more, but it's still not working - I'm getting an ERR_CONNECTION_TIMED_OUT error.
As far as I'm aware, our server still has the same configuration and settings as before we moved from 123-Reg to Cloudflare, so *in theory* we should have been able to move back seamlessly.
----------------------------------------------
Here are some other things I've checked/tried:
----------------------------------------------
1. I checked that the Public IPv4 Address was the same at 123-Reg and AWS-EC2 - it is (54.186.147.3).
2. Using SSH I renamed the plugins folder to plugins-old (effectively disabling plugins). No effect. (I've since reversed this process since it didn't help).
Also, here are the PHP Scripts set in our htaccess file (these were already set some time ago, well before the attempted change):
php_value memory_limit 512M
php_value post_max_size 50M
php_value upload_max_filesize 50M
php_value max_input_vars 2500
php_value max_execution_time 300
The site has been down since Friday morning, I have been working ever since (apart from a little sleep) to try and get the site up, but I am not making any headway, so I would appreciate any help you could give in diagnosing where the issue is.
One more thing I've been putting off for the last couple of years - the server needs the PHP updating from 5.6 to 7.x
I hope you can help us with these 2 issues.
If you can help with just one, or prefer to deal with them in separate bids, please let me know.
Cheers
----------------------
***UPDATE***
----------------------
Thank you to everyone that took the time to put in their proposals - we have read and considered every one, and we appreciate them all.
All proposals were high quality and we were truly spoilt for choice.
We have, however, whittled it down to one, and I will contact the winner very shortly.
If you weren't successful on this occasion, be in no doubt that we would have been happy to work with any of you!
Many thanks
Lee
my website is down and I'm not sure how to diagnose the problem. I hope you can help.
Please bear with me - this is a long email, but I want to give you as much info as I can.
Domain: www.chi2innovations.com
Registered at: 123-Reg
Wordpress site is housed on an AWS-EC2 server.
A couple of years ago we changed the Nameserver to point to CloudFlare and have been using their CDN ever since.
Now we have decided not to use CloudFlare any more, so my plan for moving back was:
1. Install a Let's Encrypt certificate on our Amazon instance
2. Check that everything was still working at CloudFlare
3. Reset the Nameservers at 123-Reg
4. Check the website was still working
5. Feel smug, have the rest of the day off and pour myself a cold one
Alas, you know what they say about the best-laid plans!
OK, let's go through what I did.
------------------------------
Step 1 - install Let's Encrypt
------------------------------
I have SSH access to the server, so I used the Certbot ACME client.
Step 1: install snapd (successful)
Step 2: install Certbot (successful)
Step 3: run Certbot to get a certificate (successful)
Step 4: test automatic renewal (successful)
-----------------------
Step 2 - check the site
-----------------------
Unfortunately, this is where the problems began.
My site went down and I discovered I had a redirect loop error, and subsequently found out that this is a common issue when using a Let's Encrypt certificate with Cloudflare. I identified a convoluted solution at Cloudflare to 'fix' my server to a weird configuration so that Cloudflare would work with Let's Encrypt, but since I'm moving away from Cloudflare there was no point doing this.
So we move onto:
-----------------------------------------
Step 3 - Reset the Nameservers at 123-Reg
-----------------------------------------
This was easy - 1 click and it was done!
--------------------------------------
Step 4 - Check the website was working
--------------------------------------
After leaving a few hours to propagate, the site is not showing a Cloudflare error any more, but it's still not working - I'm getting an ERR_CONNECTION_TIMED_OUT error.
As far as I'm aware, our server still has the same configuration and settings as before we moved from 123-Reg to Cloudflare, so *in theory* we should have been able to move back seamlessly.
----------------------------------------------
Here are some other things I've checked/tried:
----------------------------------------------
1. I checked that the Public IPv4 Address was the same at 123-Reg and AWS-EC2 - it is (54.186.147.3).
2. Using SSH I renamed the plugins folder to plugins-old (effectively disabling plugins). No effect. (I've since reversed this process since it didn't help).
Also, here are the PHP Scripts set in our htaccess file (these were already set some time ago, well before the attempted change):
php_value memory_limit 512M
php_value post_max_size 50M
php_value upload_max_filesize 50M
php_value max_input_vars 2500
php_value max_execution_time 300
The site has been down since Friday morning, I have been working ever since (apart from a little sleep) to try and get the site up, but I am not making any headway, so I would appreciate any help you could give in diagnosing where the issue is.
One more thing I've been putting off for the last couple of years - the server needs the PHP updating from 5.6 to 7.x
I hope you can help us with these 2 issues.
If you can help with just one, or prefer to deal with them in separate bids, please let me know.
Cheers
----------------------
***UPDATE***
----------------------
Thank you to everyone that took the time to put in their proposals - we have read and considered every one, and we appreciate them all.
All proposals were high quality and we were truly spoilt for choice.
We have, however, whittled it down to one, and I will contact the winner very shortly.
If you weren't successful on this occasion, be in no doubt that we would have been happy to work with any of you!
Many thanks
Lee
Lee B.
100% (1)Projects Completed
1
Freelancers worked with
1
Projects awarded
100%
Last project
23 Jun 2021
United Kingdom
New Proposal
Login to your account and send a proposal now to get this project.
Log inClarification Board Ask a Question
-
What access do you have to the hosting service? cPanel? Plesk? SSH?
-
did you check the firewall status after install letsencrypt?
the 443 port is open or not?
-
Did you check the firewall status after install letsencrypt?
the 443 port is open or not?
986732986704986703
We collect cookies to enable the proper functioning and security of our website, and to enhance your experience. By clicking on 'Accept All Cookies', you consent to the use of these cookies. You can change your 'Cookies Settings' at any time. For more information, please read ourCookie Policy
Cookie Settings
Accept All Cookies