Hacker News new | ask | show | jobs
by lukeschlather 5534 days ago
You can still just use an SSH tunnel on your VPS... no committing/pushing required.
1 comments

Can you explain how? I am a newbie to web development. I have been making sites locally on my machine and using heroku to deploy online. I am thinking of getting VPS hosting.
In the simplest case, something like:

ssh -R8000:127.0.0.1:80 my.vps.com

This will forward all connections to http://my.vps.com:8000/ to port 80 on your local machine.

Adjust ports as necessary.

Then you also have the VPS where you can actually host a copy of your app - but that's off-topic.