How do I link my locally programmed website with Linux hosting

While hosting on linux is possible to connect the local disc lets where the codes are done say via SSH and sync it with hosting platform

@Abhiram Shibu

U can mount the remote disk with SSHFS, or you can use remote development platform of vscode. You can also try rsync.

In co-operates, there will be a CI/CD system which is linked to git, it can be github/gerrit, from which code is tested and validated then deployed in the production machine.

1 Like

I had a similar setup and used rsync via SSH to push my local files to the server—pretty smooth once SSH keys are set up. If you’re working with a nextcloud provider, sometimes the upload has to go through their web interface or a synced directory, depending on how they’ve set up access and permissions. Just check if they allow direct SSH access or WebDAV.

Upload your files using SCP or SFTP from your local machine to the server.

1 Like