cheatsheets/_output/heroku.html

50 lines
1018 B
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title></title>
<link href="style.css" rel="stylesheet" />
</head>
<body>
<h1>Heroku</h1>
<h2>Create an app</h2>
<pre><code>heroku create sushi
</code></pre>
<h2>Custom domains</h2>
<pre><code>heroku addon:add custom_domains
heroku domains:add example.com
heroku domains:add www.example.com
</code></pre>
<h2>DNS records</h2>
<pre><code># Root domains
mydomain.com. (A)
=&gt; 75.101.163.44
=&gt; 75.101.145.87
=&gt; 174.129.212.2
# Subdomains
.mydomain.com. (CNAME)
=&gt; proxy.heroku.com
</code></pre>
<h2>Wildcard domains</h2>
<pre><code>heroku addons:add wildcard_domains
*.yourdomain.com =&gt; heroku.com
</code></pre>
<script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/1.6.4/jquery.min.js'></script>
<script src="http://cachedcommons.org/cache/prettify/1.0.0/javascripts/prettify-min.js"></script>
<script>$("pre").addClass("prettyprint");</script>
<script>prettyPrint();</script>
</body>
</html>