Rackspace

From Triangle Wiki

Jump to: navigation, search

Contents

Introduction

Entering A Domain

  • Make sure the domain's name servers are registered as
    • Primary - ns.rackspace.com
    • Secondary - ns2.rackspace.com
  • In My.Rackspace add the domains to the domains control panel, don't add any sub domains at this stage, as this control panel uses CNames; and these should be A Records.
  • View the domains record, add an A record and enter www and choose the IP and finish.
  • View the domains record, add an MX record choose the domain without www and finish.

Apache Setup

  • Need to create a folder in the statistics folders for the newly created domain i.e. /var/www/html/stats/DOMAIN.com
  • Load up webmin and edit the Apache conf file to add the virtual domains to the server.

Email Setup

If the email is a full IMAP/POP account then create the email in virtual_maps, then in Dovecot /etc/Dovecot/users to create a password use - mkpasswd -m -p [your_password_here]

  • Add the domain to the Postfix etc/postifx/virtual_maps file
    • postmap /etc/postfix/virtual_maps
  • Add the aliases for each to the Postfix etc/postifx/virtual_aliases file in the format:
    • abuse@DOMAIN.com USER@DOMAIN.net
    • postmaster@DOMAIN.com USER@DOMAIN.net
    • info@DOMAIN.com USER@DOMAIN.net
  • Need to do a command to re-create the virtual_aliases DB files
    • postmap /etc/postfix/virtual_aliases
  • postfix reload
  • Test domain.

External Links

Personal tools