[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] pointing multiple domains to one site - RAQ 3i



Hi you would set the DNS A records to Point to the IP address for the other domain
and also set the MX to sendmail to mailserver

In your /etc/httpd/conf/httpd.conf

You would add
ServerAlias www.bob.net    in the container for the main site

and then do
/etc/rc.d/init.d/httpd restart



For the email
In your /etc/sendmail.cw also add the domains
eg
bob.net

In your /etc/virtusertable
add

@bob.net  mailboxname

then do
 makemap hash /etc/virtusertable < /etc/virtusertable
  /etc/rc.d/init.d/sendmail restart




I want to point multiple domains at the same web site

ie. bob.net bob.org and bob.co.uk should all point to bob.com

I also want any mail sent to  david@xxxxxxx or david@xxxxxxx  or
david@xxxxxxx to be accepted by one user and stored or forwarded.


Is anyone out there doing this ?   any tips ?


Simply redirecting the DNS entry for all sites to the same Ip address does
not work -

do I

- add aliases in httpd.conf ?
- add versions of the email address at all three TLD's to the alias box for
each user ?