Tag Info

Hot answers tagged

6

I would treat this scenario the same as a fire, flood, or hardware failure. What you're describing is essentially a disaster recovery scenario. Make regular app and DB backups (your code really should be in a distributed, secure source control solution, such as git), and follow best-practices for password security in the first place. If you're looking for a ...


4

I just found it right here: http://flask.pocoo.org/docs/patterns/favicon/ I varied from it a bit and here's what I did: In my tree, I store the icon as static/images/favicon.ico In the HTML, I have the following line in the <head>: <link rel="shortcut icon" href="/favicon.ico"> In my Flask app, I have the following URL handler for ...


3

Yes you can, I just wrote a blog post on doing just this http://markshust.com/2012/10/29/deploying-magento-heroku-amazon-rds


3

You can get away with picking up one of the IPs, however the 3 IPs exist for redundancy & load balancing. So you'll miss out on that. For example if the one IP you pick is down, you'll lose access. BTW, I don't know why 1and1 only allows you to setup one A records. It should be possible to add multiple A records, maybe the option is hidden somewhere. ...


2

For Question 1 & Question 2 To redirect from the subdomain to a URL would require something on the host, I'm almost certain. I've looked all over support a Heroku and can't find anything helpful. I know nothing about Heroku, I'm sorry. You could accomplish this in Apache with a VirtualHost entry for the subdomain. Also could be done using mod_rewrite ...


2

Heroku's support site does address the situation you're facing, which may help you with the problem. On a couple of my sites, I solved the multiple domains/naked domain problem with a positive compare, i.e. if the domain is NOT www.example.com then perform a permanent redirect to www.example.com as this takes care of all issues in a very simple way. ...


2

Can you share your GoDaddy records? I assume what is going on is this: You are pointing a www record to your app on Heroku. For example www.yoursite.com to mysite.heroku.com Chances are you dont have an A record, since heroku does not give you real static IP addresses On regular networks, you are using public dns services like Comcast, ATT or Google. ...


2

Perisable press has a good run down on dealing with content scrapers, as does Chris Coyer at CSS Tricks the general view is do nothing and take advantage of it where you can. Summary of good advice from perishable press below... How to Deal with Content Scrapers So what is the best strategy for dealing with content-scraping scumbags? My personal ...


2

You can use CloudFlare's paid level plan (pro or above) and then use our Flexible SSL option which means we'd be connecting to your back-end (like Heroku in this case) over HTTP ...meaning you would not need to have SSL enabled at Heroku. So with Flexible SSL this is how things look -- visitor <-- HTTPS --> CloudFlare <-- HTTP --> Heroku Discussed ...


1

You'll need to specify the hostname for each zone entry, mail.example.com, www.example.com etc What's the meaning of '@' in a DNS zone file?


1

Check out Scalr, it auto scales servers, https://www.youtube.com/watch?v=DiLXsNtt-JE It's open source, but they also have a hosted version.


1

There is no problem with that. If you have a dedicated mail-server, You just have to solve it with DNS configuration. A lot of domain sellers give you free DNS manager as well, if they don't there're bunch of other services that can host your DNS stuff(where they might ask you to transfer your domain). Also be aware that Heroku doesn't provide any mail ...


1

You'll need to get your own SSL "This warning is presented by a web browser when accessing a website that has a security certificate installed (for data encryption) that was issued to a domain other than the one being accessed." http://www.digicert.com/ssl-support/certificate-name-mismatch-error.htm In Chrome it tells me "Google Chrome can say for sure ...


1

Just did a DNS lookup: rails.hosayif.com >> canonical name = sharp-meadow-6535.herokuapp.com. Non-authoritative answer: rails.hosayif.com canonical name = sharp-meadow-6535.herokuapp.com. sharp-meadow-6535.herokuapp.com canonical name = ar.herokuapp.com. ar.herokuapp.com canonical name = argon-stack-1879049447.us-east-1.elb.amazonaws.com. Name: ...


1

See http://wiki.dreamhost.com/Mysql#Connect_to_Your_MySQL_Database_from_Third-Party_Programs instructions for making your mysql instance visible to your heroku app.


1

Your SSL certificate should cover your www and non-www version of your domain. From GoDaddy their Standard SSL says, "1 certificate protects www.securemywebsites.net AND securemywebsites.net" And instead of a CNAME to your www why not an A record or @ to direct requests to www?


1

As a place holder answer until the original poster post an answer stating that after posting the issue that SSL became enabled in Heroku without any know change on their part, and that the issue appears to be a result of some issue on Heroku's end since nothing was change, but the issue went away. See the last update at the bottom of the original poster's ...


1

I put my favicon.ico image in my public/ folder in my rails app. Then I deployed to heroku and had to clear my browser cache before the new one showed up.


1

Here is what I use: <link rel="shortcut icon" type="image/x-icon" href="/favicon.ico"> I believe the "shortcut" should be in there for Internet Explorer (although IE will usually check for a favicon regardless). However, it sounds like the icon is in the wrong location. You should be able to access it via yoursite.com/favicon.ico. You could also ...


1

Things have changed a tad bit since this was originally answered. I also think they are missing a vital point: Though adding more dynos do not increase the performance, these days you now have the option to chose different dyno sizes as well. However, before you go all nuts with the new sizes, see: Optimizing Dyno Usage: CPU The different dyno sizes ...



Only top voted, non community-wiki answers of a minimum length are eligible