This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ORIGIN . | |
$TTL 3600 ; 1 hour | |
example.com IN SOA ns1.luadns.net. hostmaster.luadns.net. ( | |
1334752032 ; serial | |
1200 ; refresh (20 minutes) | |
120 ; retry (2 minutes) | |
604800 ; expire (1 week) | |
3600 ; minimum (1 hour) | |
) | |
NS ns1.luadns.net. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- File: example.com.lua | |
-- Variable _a is replaced with zone name | |
-- _a = example.com | |
--- ... | |
-- Call template with domain name as parameter | |
google_apps(_a) | |
-- ... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; Configure domain's mail exchangers (MX) | |
; aspmx.l.google.com should have the highest priority | |
@ MX 1 aspmx.l.google.com. | |
@ MX 5 alt1.aspmx.l.google.com. | |
@ MX 5 alt2.aspmx.l.google.com. | |
@ MX 10 aspmx2.googlemail.com. | |
@ MX 10 aspmx3.googlemail.com. | |
; Configure mail.example.com | |
; it will allow us to access web email using |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- File: example.com.lua | |
-- Variable _a is replaced with zone name | |
-- _a = example.com | |
-- replace heroku-app-name with application name | |
heroku_app(_a, "heroku-app-name.herokuapp.com") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- File: example.com.lua | |
-- Variable _a is replaced with zone name | |
-- _a = example.com | |
-- Call appfog template with domain name as parameter | |
appfog(_a) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; Create CNAME for www.example.com | |
www CNAME cname01.phpfog.com. | |
; Add A records for root/naked domain (example.com) | |
@ A 50.19.115.173 | |
@ A 184.72.222.30 | |
@ A 107.22.161.126 | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- File: example.com.lua | |
-- Variable _a is replaced with zone name | |
-- _a = example.com | |
-- Call dotcloud template with domain name as parameter | |
dotcloud(_a) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; Create CNAME for www.example.com | |
www CNAME gateway.dotcloud.com. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- File: example.com.lua | |
-- Variable _a is replaced with zone name | |
-- _a = example.com | |
-- replace github-username with your username | |
github_pages(_a, "github-username") |
OlderNewer