Migrate Old Domin to New Domain On AWS EC2 +Route 53 A --- Delete old A Record and create New A record with your new domain on new hotels    zone B ---  Remove apache for server (EC2- Instance)Notes --- Before removing apache first take a backup of two path 1-   /etc/apache/sites-available                2 - /var/www/html Very simple and straightforward way that worked for me is as follows: Stop apache2.$ sudo service apache2 stop Uninstall Apache2 and its dependent packages.$ sudo apt-get purge apache2 apache2-utils apache2.2-bin apache2-common Use autoremove option to get rid of other dependencies.$ sudo apt-get autoremove Check whether there are any configuration files that have not been removed.$ whereis apache2 If you get a response as follows apache2: /etc/apache2 remove the directory and existing configuration files.$ sudo rm -rf /etc/apache2 C ---  Install Apache server .  sudo apt-get install apache2 D --- Configure SSl .         sudo certbot --apache E --- If You have angular build copy you proxy code from old sites-available to new         sites-available apache config file. T        hen Run ---  sudo a2enmod proxy sudo systemctl restart apache 2