I found myself to be asking a few questions again so I hope someone can expand with their answers or even provided me with a given scenario.
In my mind, I would like to use mail.mydomain.com
for setting up my mail service and of course for hosting, I will have www.mydomain.com
for web and also I'm also wanting to try to use an internal webportal that will not be used for the public. (something like home.nibblesnet.com could be an example)
Here's what I am doing based on the HowTo
mapping multiple names in /etc/hosts:
Here's what I've done:
From PAGE 3:
-> vi /etc/hosts:
I've added the following:
127.0.0.1 localhost.localdomain localhost
192.168.0.100 mail.mydomain.com ub1
192.168.0.100 www.mydomain.com ub1
192.168.0.100 fpt.mydomain.com ub1
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
If I want to make an internal based web based portal as well, would I need to map it in there. (something like maybe "home.nibblesnet.com" as example perhaps)
? So would I need to add it in the hosts file?
On the same page from the Howto, I wanted to know about the following:
echo server1.example.com > /etc/hostname
I noted that you can only add one of them. I wanted to know what is better to use based on the 1st step:
bear in mind that I want to host a domain I've already registered and I would like to use mail.mydomain.com for the setup of my mail once ready for the steps in Page 5.
On Page 5:
You will be asked two questions. Answer as follows:
General type of mail configuration: <-- Internet Site
System mail name: <-- server1.example.com
Considering the changes I made in the hosts file, should I be able to
as my system mail name?
Also in Page 5 there's a mention of the following in regards to setting up mail:
Other destinations to accept mail for (blank for none): <-- server1.example.com, localhost.example.com, localhost.localdomain, localhost
Is there anything else I would need to consider adding given what I'm doing?
On Page 5:
Next we configure Postfix for TLS (make sure that you use the correct hostname for myhostname):
postconf -e 'myhostname = server1.example.com'
I'm assuming that this can be mail.mydomain.com
given the way I want to configure my setup. Can someone please confirm?
Please keep in mind that in the end, I will also be adding ISPconfig so I want to make sure that what changes I make will not interfere with a successful install of this as wel.
Thanks in advance for the help.