From popdata
Jump to: navigation, search

Adding a new domain


  • buy domain name from
  • add MX record to (
  • add A record for www. to (cartier)
  • go to webmin on champlain (https://champlain:10000)
  • create master zone, fill in
    • domain:
    • email:
    • rest are defaults
  • apply changes
  • add MX record:
    • name: (empty)
    • mx: to
    • priority: 10
  • add A record (optional)
    • for empty name pointing to cartier
    • for www pointing to cartier
  • on
cd /etc/tinydns/root
echo "" >> data
svc -d /service/*
svc -u /service/*
cd /etc/dnscache/root/servers
echo "" >
svc -d /service/*
svc -u /service/*
  • add web hosting on (optional)
  • cd /etc/apache2/sites-available
  • create vancouvergroup file:
<VirtualHost *:80>

    DocumentRoot /var/www/vancouvergroup/
    <Directory />
        Options FollowSymLinks
        AllowOverride None
    <Directory /var/www/vancouvergroup/>
        Options Indexes FollowSymLinks MultiViews ExecCGI
        AllowOverride None
        Order allow,deny
        allow from all

    LogLevel warn
    ErrorLog /var/log/apache2/vancouvergroup_error.log
    CustomLog /var/log/apache2/vancouvergroup_access.log combined
    ServerSignature On
  • aa2ensite vancouvergroup
  • /etc/init.d/apache2 reload