iconus's blog

Add Nameservers to ehcp

If you need more domain name servers (e. g. ns3.yourdomain.com and ns4.yourdomain.com), if you are a web hosting provider use this syntax to add name servers to your DNS template:

yourdomain.com. IN NS ns.yourdomain.com.
yourdomain.com. IN NS ns3.yourdomain.com.
yourdomain.com. IN NS ns4.yourdomain.com.
ns.yourdomain.com. IN A {dnsip}
ns1.yourdomain.com. IN A {dnsip}
ns2.yourdomain.com. IN A {dnsip}
ns3.yourdomain.com. IN A
ns4.yourdomain.com. IN A

Guide to adding Google Apps email to EHCP

I'm very pleased to be able to finally bring a how to guide to adding Google Apps email to your amazing and free EHCP software. Hopefully this will make it even better.

1. Go to /var/www/new/ehcp and find the apachetemplate file. Open the file in your favorite text editor.

2. Delete this whole section:

ServerName webmail.yourdomain.com
ServerAlias mail.yourdomain.com
ServerAlias email.yourdomain.com

DocumentRoot {ehcpdir}/webmail

LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined