HI
I have an aws EC2 machine (running cloud-linux) with WHM installed on it, an elastic IP is attached to the machine as well.
Daily snap-shot is created for the machine, my machine crashed today so I decided to boot-up the snap-shot, so I:
1- Created an Image from the snapshot and launched it (launch it in a new EC2 instance)
2- De-attached the Elastic IP from the original instance.
3- Attached the elastic IP to the new instance.
4- Powered up the new instance
Note: although I was able to transfer the elastic IP (public IP) between the machines, however each machines has a different private IP address.
Observations:
1- I was able to access the WHM no the new machine.
2- All my data was there.
3- The webserver wasn't working !!!
4- I tried to host basic HTML pages but I was getting the error 404 page.
5- I am guessing this has to do with the Imaging being taken with the private IP address of the old server and the new machine having a different private IP address.
By the way I tried to create new domains (test domains) on the new machine, but I was getting an error saying "this user is already created" which is not the case. I even tried to create subdomains like test123, test1234, and I was getting the same message every time.
The website also kept throwing:
"SORRY PAGE and redirected to cgi-sys/defaultwebpage.cgi"
Any ideas on how to solve this issue?

I have an aws EC2 machine (running cloud-linux) with WHM installed on it, an elastic IP is attached to the machine as well.
Daily snap-shot is created for the machine, my machine crashed today so I decided to boot-up the snap-shot, so I:
1- Created an Image from the snapshot and launched it (launch it in a new EC2 instance)
2- De-attached the Elastic IP from the original instance.
3- Attached the elastic IP to the new instance.
4- Powered up the new instance
Note: although I was able to transfer the elastic IP (public IP) between the machines, however each machines has a different private IP address.
Observations:
1- I was able to access the WHM no the new machine.
2- All my data was there.
3- The webserver wasn't working !!!
4- I tried to host basic HTML pages but I was getting the error 404 page.
5- I am guessing this has to do with the Imaging being taken with the private IP address of the old server and the new machine having a different private IP address.
By the way I tried to create new domains (test domains) on the new machine, but I was getting an error saying "this user is already created" which is not the case. I even tried to create subdomains like test123, test1234, and I was getting the same message every time.
The website also kept throwing:
"SORRY PAGE and redirected to cgi-sys/defaultwebpage.cgi"
Any ideas on how to solve this issue?

Last edited: