Thanks for your input... Based on your answer, yes, I'm aware of the virtual hosting scenario (been doing some reading on that issue) however, for simplicity, I'm more interested in the example of just 1 domain registration in the example given of using fictitioous example of www.mrnibbles.com
for my website or
mail server using mail.mrnibbles.com
What I'm trying to understand in my mind - line of questions is "how things work with the setup".
For example once the setup is completed based on the Howto graciously provided by Falko
. I wanted to know how to approach email testing just for starters. I do realize in the howto that authentication is required based on the howto but how can I identify to the world that mrnibbles.com
So far, I've been able to complete the install of the server without a problem but trying to understand a scenario with using my own domain registration
and how it should be configured for someone with just 1 domain registration.
In the howto, it keeps referring to server1.example.com
and wondering if this would be appropriate to say that is this is where a person would use their own domain that they've registered. This is part of what's going on in my line of thinking as some of the howto refers to the importance of the hostname.
I know at this point, my router is already pointing my own registered domain (e.g. www.mrnibbles.com)
. So I know if I was to type it in a browser, already apache server is working. I my own scenario both the mail and apache resides on the same both is in the case of this howto.
How do I test sending email out to somewhere for example. And just as well receiving an email - how will it be recognized to work since nothing is referencing something like firstname.lastname@example.org
It is why I have these questions of confusion. So sorry for being a noob
Originally Posted by volksman
Honestly if you are hosting more than one site then the base hostname of the system is somewhat irrelevant unless you have multiple IP addresses.
The reason for this is because you will be doing what is called "Name Based" virtual hosting rather than IP based. What this means is that your server (apache for example) will reply based on the NAME that is being requested as opposed to the IP being requested.
So if you follow along in the how to setup everything to a base hostname (ideally something that can be resolved or Apache will complain but will still work). Once you have the server setup you will end up creating a Virtual Host in Apache for each domain you want to host as it's own site.
This will be the same for Postfix/Courier. The perfect setup is ideal for a SINGLE domain host (or to install ISPConfig which handles all the virtual setup for you). If you want many virtuals without ISPConfig I would strongly advise you merge the perfect setup howto with the Virtual Users Postfix/Courier Mail Howto on this site.
So short answer: I would stick to one hostname (real or fake) throughout the howto. Just pick one and run with it... )