View Single Post
Old 5th May 2009, 23:10
stefanos stefanos is offline
Junior Member
Join Date: Nov 2008
Posts: 29
Thanks: 6
Thanked 1 Time in 1 Post
Default General hostname domain email question.


I set up a perfect server with Debian Lenny.
I am a bit confused about domain names and emails and I would like some clarification.

Say I own a domain name called
The A & MX records all point to my IP

I have called my server with a host 'dragon'.
and thus the hostname for the server is

If I understand an email would be linked to a hostname.
i.e. an actual email should look like:

So if I were to send an email to '' it should be delivered to the user's account 'stephen' on dragon.

But what happens if I want to send an email from the outside world to and it be delivered to '' does this work in a similar way to apache's ServerAlias? And how would you configure this is courier?

Should & both resolve from the outside world to the same server IP or should resolve internally on my LAN only and the default for * resolve to the server's IP?

And what should I actually use for 'System mail name'?
1) or

Does anyone know of a good tutorial on server host naming?

*Domain name has been changed*

If I am a bit confusing I can try and clarify but it's all Greek to me.

Kind Regards
Reply With Quote
Sponsored Links