Chandran,

I think you have confused many of us here, so let me see if I can cover all of the bases. NOTE: I am a CLI guy -- no big fan of GUIs for admin purposes... so all of my examples are CLI.

1) You register a domain name at a registrar (like _*IT4SOHO.NET*_ -- plug, plug -- or GoDaddy, or any of several THOUSANDS of others). If you like overpaying, you could go to the obvious ones: register.com or networksolutions.com -- but they all give you the EXACT SAME THING -- an entry in the TLD (like .com, .net, .us, .ca, etc.) and an initial DNS pointer (which you can change). For the sake of an example, let's register _*EXAMPLE.COM*_.

2) DNS is the key to the Internet Kingdom -- to make anything happen, you have to have a DNS server. Most likely, you have a rather basic one _*FREE*_ at your registrar, or if you want more options, you can host your own (see BIND, PowerDNS, etc.). Again, for the sake of argument, let's use the registrar's DNS server, which likely has nothing more than NS records in it (NS records specify NAME SERVERS... aka DNS servers).

3) Within DNS, your mail server is specified as a set of MX records (and unlike A records & PTR records, there are supposed to be multiples, AND they're supposed to be "ranked"). Now you have already said you want to host your own e-mail, so we have to make the one entry for an MX record -- BUT there is a caveat here.... the entry for the MX record MUST be a reference to an A record (the other way to address a host in DNS is through a CNAME record -- and CNAMES are NOT ALLOWED for MX entries).

For the sake of this example, let's say we go to our Registrar's site, edit our DNS, and create the A record for our mail server and call it mail (so the FQDN would be mail.example.com.) and lets say that your server has a static IP address of 1.2.3.4. (You CANNOT run a mail server from a dynamic IP address -- not even with a DynDNS type of service -- don't even TRY to go there!).

So while we're in the DNS server at the registrar's site, we also create the MX record... we now HAVE the A record we need (we just created the mail.example.com. record), so we'll add an MX record with a weight of 10 (it's an arbitrary number), and with an entry of mail.example.com.

So now we've got a domain name (step 1), we've got a DNS server (step 2), and we've identified our mailserver (step 3)....

4) NOW, its time to configure our QMT (qmail toaster).
Since your question is that you want to host MULTIPLE domains, I'm going to assume you have your QMT installed and configured for ONE domain already. To add another domain, run the command */home/vpopmail/bin/vadddomain example.com* (you'll have to be root to do this) You will be asked to provide the postmaster password, and after that, you can use your web browser to use those blasted qmailadmin commands to play with your newly hosted domain!

I hope this is complete enough for you!

Dan McAllister
QMT DNS Admin


On 7/17/2013 12:05 AM, ChandranManikandan wrote:
Hi All,
Currently am using Centos 5.7 with qmailtoaster.
I have use one domain with this server and dns host from another provider.
I want to register one more domain and all emails need to be configure with the same server. Can you please help me how to do that more than one domain configure in single server as well smtp and squirrelmail.

--
*/Thanks & Best Regards,
Manikandan.C
/*


--

PLEASE TAKE NOTE OF OUR NEW ADDRESS
===================================
IT4SOHO, LLC
33 - 4th Street N, Suite 211
St. Petersburg, FL 33701-3806

CALL TOLL FREE:
  877-IT4SOHO

877-484-7646 Phone
727-647-7646 Local
727-490-4394 Fax

We have support plans for QMail!

Reply via email to