
December 26th, 2011, 01:42 PM
|
 |
They're coming to take me away
|
|
Join Date: Jan 2005
Location: Florida
|
|
Quote:
But what's a hostname?? I wanna set my mail program to connect to imap.mydomain.com and smtp.mydomain.com but what r those?? |
A hostname is *.domain.com. So, for example, mail.domain.com would be a hostname.
Anything in front of domain.com is a subdomain. Even www.domain.com would consider www as a subdomain.
If mail.mydomain.com is resolving to 0.0.0.0 then you have something improperly configured.
For DNS:
You need to have an A record for each of the domains (and subdomains). You can, instead, use a wildcard to encompass all subdomains.
You then need an MX record (or multiple ones) that point imap.mydomain.com and smtp.mydomain.com to domain.com.
On your server, you should edit the hosts file and list your domain as well. I use sendmail, but qmail probably has something similar to where you need to edit a particular file to allow mail. You would need to add the domain name so that your server will receive mail for that domain.
__________________
"I don't need to get a life. I'm a gamer. I have lots of lives!"
|