Reputation: 445
So I am a total newbie to Microsoft azure and deploying applications on a server, I've seen a bunch of tutorials for deploying a rails application on azure, but they all use the classic portal. I'm using the new portal with the resource manager, and I've got no idea how to translate what those tutorials want into the new resource manager deployment model.
So yeah I already have the virtual machine set up. I already have the rails app in it, and I can run it locally inside the server just fine using the rails s
command, but how do I actually run it in a way that is accessible through the web, where I can type in the DNS I set up in azure and get to the rails server interface?
Upvotes: 0
Views: 467
Reputation: 72141
The Azure doesn't control your DNS server and it's records. You just have to look up the Public IP of the VM (and you'd better make it static, so it won't change) and create A record in your DNS to point to that IP.
As for the connectivity, you would want to look into the Network Security Groups, to allow for incoming traffic.
Upvotes: 1