π 2023-04-27 β Session: Migrated website to new domain using SSH and SCP
π 18:50β19:35
π·οΈ Labels: SSH, SCP, Website Migration, Linux, File Transfer
π Project: Dev
β Priority: MEDIUM
Session Goal
The goal of this session was to migrate a website from an old domain to a new one using SSH and SCP commands.
Key Activities
- Accessed the directory contents of the remote server using SSH to verify the files to be transferred.
- Utilized SCP to transfer files, including tar files, from the remote server to the local machine.
- Executed the transfer of website contents to the new domain, ensuring all backups were retrieved and extracted properly.
- Used SCP with the
-roption to securely copy entire directories from the remote host to the local machine. - Copied website files to the new domain directory, verifying permissions to ensure correct file management.
- Created a new directory for the website and configured it properly.
- Troubleshot website error messages by checking DNS, firewall settings, and file permissions.
- Checked the directory for website accessibility issues and ensured necessary files were present.
- Created a placeholder file to test website functionality and confirmed it was uploaded correctly.
- Provided a basic HTML βHello, World!β example for testing purposes.
- Discussed the use of
xdg-openand alternatives for file management on Linux. - Installed xdg-utils and nautilus to enhance file navigation capabilities.
- Used the
mvcommand to organize files within the new directory.
Achievements
- Successfully transferred and set up the website on the new domain.
- Resolved initial accessibility issues by ensuring all necessary files were present and correctly configured.
Pending Tasks
- Further testing of the website functionality with more complex placeholders and real content.
- Continuous monitoring of the website to ensure stability and performance.