Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 06-27-2008, 11:28 AM   #1
LQ Newbie
Registered: Dec 2004
Location: Michigan
Distribution: Slackware, Red Hat, Ubuntu
Posts: 23

Rep: Reputation: 1
Want new domain to act as alias for current domain: email, dns, etc.

We just bought a new, shorter, domain name for our company. I want this new domain name to act just like our current domain name (e.g. mail to goes to, points to We manage our own dns server and use NetworkSolutions to advertise our nameservers.

Ideally I won't need to duplicate and maintain two complete sets of config files for the two domains, but maybe that's how it's done?

I figure that I need to do some tweaking to our sendmail configuration as well as our DNS configuration, but I'm not sure what I'm doing. This seems like it should be a common request, yet I'm not finding any references to how this is done -- maybe I just don't know the right terms to search for.

Can anyone point me in the right direction?
Old 06-28-2008, 08:42 PM   #2
Mr. C.
Senior Member
Registered: Jun 2008
Posts: 2,529

Rep: Reputation: 63
Create CNAMES for your hosts in the new domain mapping them to the old domain, or vice versa (eg. setup the new resource records in the new domain, and create CNAMEs in the old domain replacing your existing entries). You can also create catch all (*) and bare domain (@) records so you don't have to create a record for each host.

You shouldn't use a CNAME your for your MX..

Last edited by Mr. C.; 06-28-2008 at 08:43 PM.
Old 06-29-2008, 01:00 AM   #3
Senior Member
Registered: Jul 2003
Location: Silicon Valley, USA
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660

Rep: Reputation: 69
Originally Posted by Mr. C. View Post
You shouldn't use a CNAME your for your MX..
or your NS.
Old 07-01-2008, 03:11 PM   #4
LQ Newbie
Registered: Dec 2004
Location: Michigan
Distribution: Slackware, Red Hat, Ubuntu
Posts: 23

Original Poster
Rep: Reputation: 1
Thanks, this works great.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
In SSH, how to replace a full domain name with an alias zbinwu Linux - Newbie 7 04-23-2012 07:14 AM
DNS resolve to keysorsoze Linux - Networking 3 02-12-2007 03:03 AM
domain alias sort of maxsanders Linux - General 3 03-18-2006 06:18 AM
Mysql - Postfix alias domain paulten Linux - Networking 0 11-03-2003 04:05 PM
HELP! Sendmail Config for where xxx is not domain, but want act like 1 rld1025 Linux - Newbie 2 09-11-2003 07:53 AM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 05:57 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration