0

Is there any way to migrate files from godaddy server to AWS EC2 without using FTP.

I've tried to migrate using FTP but migration is getting failed. Data is in GBs

  • Is this with GoDaddy's cPanel shared hosting? – damolp Jun 20 '18 at 06:06
  • Yes! GoDaddy's cPanel - Shared Hosting – Arpit Mittal Jun 20 '18 at 06:10
  • FTP is a fairly well understood technology. It's probably better to get it working properly. SFTP is built into Linux instances, it's part of SSH. Make sure your AWS security group allows your GoDaddy server to access it via SSH, Network ACLs are open, should be pretty simple. – Tim Jun 20 '18 at 19:33

2 Answers2

1

Use sftp/rsync/scp from EC2.

See here for the connection info, and here for enabling access to SSH.

damolp
  • 331
  • 1
  • 6
  • Awesome! I researched a bit on the rsync. Can you help me with some tutorial? I really don't want to screw up the main site. I would like to keep my second server as a Staging Instance. – Arpit Mittal Jun 20 '18 at 12:09
1

Pretend Domain is example.com on Godaddy.

  • Login to your GoDaddy account and access cpanel, go to File Manager.
  • Compress your website files (all your files in public_html folder). Now, your filename is example.com.zip
  • Connect to your AWS SSH via Putty or any command terminal. Go to the folder of your website using the following command cd /var/www/
  • wget http://example.com/example.com.zip command is to get that zip file to your AWS /var/www/ folder.
  • unzip example.com.zip to unzip all your website files into /var/www/ folder.