I want to know if someone's site is using Heroku, Engine Yard, self-hosted on EC2, or something different. They use Ruby on Rails. Is there a good way to figure this out?
Your only clue will be looking at where the DNS record is pointing at, eg nslookup www.kyan.com will show you that it's a CNAME to a herokuapp.com domain. Heroku and EY all use EC2 so the IP address range will show you it's an Amazon IP address. Perhaps if you reveal the domain we can all have a poke.
Related
So I host with company X and have my domain on there. I deployed my app to heroku and pointed my domain at it. I can't wrap my head around if I am hosting my site on heroku now or if I am hosting it on company X's servers.
I would assume I'm hosting on herokus server because that is the most logical, but just keep having this brainfart.
Could someone please explain this to me?
Your application is on Heroku's server. All company X has done is perform the DNS magic necessary to map the friendly URL (www.yoursite.com) to your Heroku deployment.
Amazon
You should also be aware that Heroku doesn't actually "store" the app on its own servers - it uses Amazon's ec2 cloud to create instances of your app
So although you have your domain with company X, your app handled through heroku, it will actually be running in one of Amazon's data centers
Keep that in mind when you start to grow (you may find benefits of using Amazon directly)
I am new user for website developer(rails3.2) and I don't know how to hosting over website to live.
I have used heroku but over website is not searchable by google and heroku added there domain i.e. http://example.herokuapp.com but I want website with http://www.example.com.
Please suggest me what process I have to follow. Please explain step by step.
Need paid server
Heroku is a PaaS (Platform as a Service). There is no easier way to deploy application on the Cloud.
There are several domain configurations available to your app. Most simple is to add custom domains on Heroku heroku domains:add www.example.com and the next step, you must configure your application’s DNS to point to Heroku.
Becareful, DNS changes can take several minutes to several days to take effect.
You need to purchase a domain from any of the Domain provider(Go Daddy,Zerigo DNS).
And you need to point out your Heroku app configurations at Domain C-panel.
Here is an article at Heroku. have you checked it?
https://devcenter.heroku.com/articles/custom-domains
Also here are some few URL's that gives you some basic Idea.
https://devcenter.heroku.com/articles/zerigo_dns
How to configure heroku application DNS to Godaddy Domain?
Hi I have successfully deployed my app to amazon aws using this railscast
http://railscasts.com/episodes/347-rubber-and-amazon-ec2
my app shows up here on this url http://web01.foo.com/
on my local machine only.
I am slightly confused, if I deployed it why can't other people see it. How do you make it live for all to see?
if anyone is familiar with this rails cast please enlighten me, I am still trying to learn about the architectures of amazon aws hosting.
Thank You
Judy
Rubber automatically sets up your /etc/hosts file for you. In order to make it publicly viewable you need to have the DNS servers point to that address in your /etc/hosts file.
So basically, go to your DNS host provider, and add an entry that points the domain name you own to the ip address of web01.foo.com and it should load okay.
In your amazon EC2 dashboard click on the instance. You will get the public domian of your server. Use PUBLIC domain not private one
I need to connect to an API with my Heroku/Rails app where I need to have a static IP.
I know about the add-on proximo - https://devcenter.heroku.com/articles/proximo - but it is insanely priced, so that's out of the question.
Most people in my situation ends up deploying to EC2 instead and using a an Elastic IP as their static IP. I've also tried this and it works, but I find the whole flow of playing around with EC2 really cumbersome.
I've read in some answers that it is possible to set up an EC2 server and use it as a proxy for your Heroku/Rails app - Heroku Static IP for SFTP - but it sounds very cryptic for a person who is not very server-savvy.
Can someone give a step-to-step tutorial on how to set up your Heroku/Rails app to use your EC2 instance as a proxy?
In short: I would just switch to AWS. There is a little bit of a learning curve but it's not too difficult. Here is a presentation I gave on it geared toward front-end devs:
https://speakerdeck.com/krunkosaurus/intro-to-scaling-your-web-app-on-the-cloud-with-aws-for-frontend-developers-part-1
Amazon has 9 regions each with 3-5 "Availability Zones". I know that Heroku uses AWS but am not sure if you get to decide (or know) which AWS region and AZ your actual server is hosted.
Whatever it is, you should host your proxy server in the same Region (better yet, even the same Availability Zone). Setting up an EC2 there is easy just use the web console and be sure to give it an Elastic IP so the adress doesn't ever change. Then point your DNS away from your Heroku instance (dyno?) to this EC2 instance. From there you can either install Nginx or HAProxy.
I've just setup QuotaGuard Static as a more robust, better value static IP service that can be used by Heroku apps.
It's hosted on EC2 so you get the low latency benefits without having to start managing servers.
Hello you can use this answer to see how to use NGINX as a reverse proxy.
https://stackoverflow.com/a/27874505/1345865
http://blog.talenox.com/post/107675614745/how-to-setup-static-ip-on-heroku
Fixie is very affordable option for getting static IP address on Heroku. The documentation section has a lot of examples for different languages and frameworks, including Ruby.
I need to create the sales site for my application in wordpress as their themes are far more impressive than anything I could create in rails in a short time period. I need the rails app to be on a subdomain such as app.mydomain.com and Id prefer to host with heroku.
Is this possible and if so how?
If not what do other app providers do for their sales site and blog?
You might find your answer here: http://docs.heroku.com/custom-domains
The doc is good and the video explains how to customize your DNS. You'll be able to point your DNS wherever you want.
EDIT 1
Far more easier:
Go to your DNS provider
add a CNAME for app.mydomain.com
make it point to your Heroku's URL.