Hacker News new | ask | show | jobs
by 182446 5534 days ago
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.
1 comments

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.