Moving Web hosting server to Lightsail
For shifting old-fashioned web hosting server to new one, i decide to use AWS’s Lightsail.
- Download all data from current web server using FTP.
- Export WordPress data using exporter plug-in.
- Create AWS Account for web hosting management.
- Create IAM Account for same.
- Create Lightsail instance. Install WordPress app.
- Make Static IP.
- Download SSH Key.
- Connect SSH, SFTP, HTPP for testing.
- Enter WordPress console.
- Import WordPress data exported before.
- ‘scp’ data to htdocs folder.
- Remove bitnami flag and restart apache
- Make snapshot.
- Create DNS zone.
- Create A record and resolves to static ip.
- Configure dns server data in DNS management service.
Create Lightsail instance is easy, but WordPress migration is failed everytime. So i have to manually migrate some datas.