How to add virtual domain

Standard
  • Requirements:
    Access to Primary & Secondary DNS
    Access to Web Server
    Access to Mail Server
    Access to any other servers to be setup
  • MAIL setup
    Add appropriate name to the /etc/sendmail.cw (eg. mail.blue.net.au)
    Add appropriate redirection details to /etc/mail/virtusertable
    Add appropriate access levels to /etc/mail/access
    Restart sendmail
  • WWW setup
    Create index.html file in directory /home/httpd/html/NEWDOMAIN/html
    Add new virtual domain to the end of /etc/httpd/conf/httpd.conf
    Restart httpd
  • DNS setup
    Add appropriate line to /etc/named.conf and/or /etc/named.boot
    Create appropriate file in /var/named
    Do same on both Primary & Secondary DNS
    Restart named on both machines

Disclaimer:
By reading and/or using the information within this web page you agree to hold the author, publisher and all related entities harmless from any claim directly or indirectly related to the information given or the use of any part of the information on this web site. Use at own risk. No responsibility taken.