This is a very basic question. I'm running a VPS, and I can run web apps on the server to any local ip/port as I choose. How do I actually get these local ips/ports mapped to live domains registered on the server to make my site accessible?
It's a ruby on rails application, running on a cPanel VPS. I'm starting the ruby on rails server simply by typing
rails server, using the simple default WEBrick server ( I don't need anything more complex right now ). By default the app starts on port 3000, but I can customize that to any port I want.
(NOTE: cPanel does not support Rails 3 because mongrel has issues with it. I am not using mongrel, just the default WEBrick server, so this should not be an issue. )