DNS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationDNS

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now!
  #1  
Old September 16th, 2003, 08:31 PM
steven_wck steven_wck is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Posts: 2 steven_wck User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
how does email get routed to a self-hosted domain?

Hi all,

I am new to self-hosting a domain, but by checking out the postings on this site, the information i gathered has been really helpful. I do however, still have a doubt as to how emails are routed to the email server hosted on my domain.

For example, I have a domain called abc.com registered. As far as I understand, abc.com is actually pointed to the nameservers that I have setup at my static internet IP right? So say I have ns1.abc.com and ns2.abc.com setup.

Now if i have an email server at emails.abc.com and this has been registered to both my nameservers (ns1 and ns2), there should be no problem accessing the emails.abc.com machine.

However, I noticed that email addresses typically just specifies the domain name, ie. abc.com. So how would the email get routed to my email server which is emails.abc.com? Is there like some sort of naming convention that every mail server has to adhere to for emails to work?

Appreciate any replies I can get on this matter.

Best rgds,
Steven.

Reply With Quote
  #2  
Old September 18th, 2003, 06:50 PM
alexgreg's Avatar
alexgreg alexgreg is offline
Full Access
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Jun 2000
Location: London, UK
Posts: 2,019 alexgreg User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 sec
Reputation Power: 11
Mail is routed according to MX records. In your example, you would need to set up MX records for abc.com on the nameservers ns1.abc.com and ns2.abc.com.

Caveat: The MX record cannot resolve to a CNAME, and cannot resolve to an IP address. It must resolve to an A record (e.g.. mail.abc.com). See http://www.rscott.org/dns/mx.html for further information.
__________________
Alex
(http://www.alex-greg.com)

Reply With Quote
  #3  
Old September 22nd, 2003, 10:05 AM
steven_wck steven_wck is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Posts: 2 steven_wck User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
thanks alexgreg..

will try that out.

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationDNS > how does email get routed to a self-hosted domain?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway