I had an instance with AWS, decided to upgrade the plan of that instance and now my instance is not working properly with 2 sites that I had.
I detached the static IP from the old instance and put it on the new instance. It should be working fine? Unfortunately, it’s not.
The static IP address used to give me the default Bitnami congratulation page. But now it gives me Apache2 Ubuntu Default Page.
I use this command to attempt to restart apache2:
~$ sudo apachectl restart
It gave me this error message:
httpd not running, trying to start (98)Address already in use: AH00073: make_sock: unable to listen for connections on address [::]:80 (98)Address already in use: AH00073: make_sock: unable to listen for connections on address 0.0.0.0:80 no listening sockets available, shutting down AH00015: Unable to open logs
Edit: Also the domain name I had pointed to this static IP address is not resolving. (The static IP is pointed to the new instances already.)