Skip to content

Instantly share code, notes, and snippets.

@vitalie
Created August 27, 2012 13:07
Show Gist options
  • Save vitalie/3488267 to your computer and use it in GitHub Desktop.
Save vitalie/3488267 to your computer and use it in GitHub Desktop.
LuaDNS - Heroku Configuration Example (Bind)
; Replace heroku-app-name with application name
www CNAME heroku-app-name.herokuapp.com.
; Usage of A records for naked domains is highly discouraged by Heroku
; here we are using A records only for redirection
; example.com will be redirected to www.example.com
; using "rack-canonical-host" or other method
@ A 75.101.163.44
@ A 75.101.145.87
@ A 174.129.212.2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment