1

Designing a website for a client and taking over from previous guy who set it all up in AWS. I’m not familiar and the learning curve is steep. The last few days I’m getting a 504 gateway problem and the website is broken.

So, bought new traditional hosting today. Want to extract from AWS without breaking their other assets. Usually I can just change the A records to the new IP and it will redirect after an hour, but AWS is not letting go. It just gave me a site not found error.

Here is the current setup as I understand it:

  1. Route 53: Hosted zone in AWS, not registered domain
  2. current ‘A’ record is an alias, pointing to a load balancer in EC2
  3. Has an amazon-provided SSL cert
  4. LB listener has a target group with redirect rules

Never heard of any of this before last week, except ‘A’ records. All I want now is to know how to safely repoint the nameservers and start using the new hosting. The listeners etc are in use by other sites so I have to be careful not to interfere with them.

edit2: deleted reference to actual website and IP address

1 Answers1

0

I have briefly looked at it...

  1. The website at https://rawgyms.com seems to work ok. Not failing with 504 errors.

  2. The website at http://195.7.226.157 doesn't seem to be ready.

I would start by bringing the website up at the new address and then yes, simply change the A record to the new IP. The current one is probably an "ALIAS" since it points to a load balancer. For your new one simply set the A (non-ALIAS) record to 195.7.226.157. Make sure the TTL is set to a low value (e.g. 300 sec = 5 mins) in case you'll need to revert it.


On the other hand since you already have the website running on AWS I would spend some time learning the AWS platform. Cloud platforms and AWS in particular are becoming more and more popular and if you're working in this industry sooner or later you will need to be across it. It's now a mainstream, not some obscure technology. Invest your time in learning it :)

Here on ServerFault we can often help with any specific problems.

MLu
  • 26,247