Originally posted by matt2kjones Ok i have never really understood dns, so i have always used a dns provider to point my domain to my ip address for me
but i have a problem, and that is the fact that email doesn't come to me, so now im just gunna have to setup dns on my machine
but i have gone a bit off the point, i think i no how to set up the dns records to point the domain to my server.
but i have this question
if i got a mail server, and i set its hostname to 'email'
and my domain name is thedigitaldream.co.uk
will the email server then be email.thedigitaldream.co.uk
i really need to know this as im gunna have to set up an mx record and stuff like that
Well, technically, you could name your email server to anything at all. If the MX record shows that mail for that domain is supposed to go to an IP address, it will go there and if there is a mail server listening at port 25 (usually) it delivers it.
Basically set your A record to the hostname (the real name of the pc, etc) pointing to your IP address
Set an MX record pointing to the A record.
A record --points to IP
CNAME points to A record
MX record points to A record