Setting up local servers (mysql, mail,...)?
|
demo 21 Dec 2008 03:18pm ok, i'm quite a beginner and i'm wondering a few things... I'm trying to learn more about creating a mail server. I've installed ubuntu, apache, mysql, postfix,... What domain names and host names should I use in configuring the mail servers? usually the domain is domain.com and the servers are smtp.domain.com and stuff like that. what can i use on my localhost? should i just use "localhost" and 127.0.0.1 for everything? how does this stuff work? can i just use a random domain name? |
Answers
|
demo 21 Dec 2008 06:22pm You obviously need to pick up a few books on networking. You have quite a bit of work cut out for you before this is going to do anything for you. As a minimum you'll need to register a domain with a domain registrar such as Go Daddy http://www.godaddy.com Then you'll need a DNS service. I use SiteLutions.com http://www.sitelutions.com as they handle both static and dynamic DNS for free. Until you have your own domain and DNS service, no mail can flow to your machine. You'll need to set up an MX record so that other mail systems can find your mail server. Even without an MX record, mail should flow if your domain resolves to the mail server's address but an MX record will ensure that an incorrectly configured system can still deliver mail to you. There are plenty of books on setting up Linux servers, including postfix, Apache, MySQL, etc. Pick up one or two and start reading. What you need to do to get this working is well beyond the scope of a short answer here. Localhost simply defines the local machine and 127.0.0.1 is the loopback address for the NIC. Those are used for testing purposes only and cannot be use to identify your machine on the network. |
Related
Submit Answer
You must be logged in to post an answer. Please Login or Register.
Powered by phpMyAnswers.