Hi! I've been reading "The Perfect Server - Ubuntu 10.04 [ISPConfig 3]" to setup a clean server. Mainly for local testing before I go live. This is the first time I setup a server without any graphic representation. I've runned some using the desktop version of Ubuntu, but for a more realistic test environment I will setup a clean server installation. What puzzles me a bit is the server names used in the tutorial - "server1.example.com". Shouldn't it really be "example.com"? When setting up the mail server it says you should write "server1.example.com". Shouldn't this also be "example.com" as it prepends the actual e-mail address like this: [email protected] and not [email protected]. I have my own domain name I would like to use. But I don't know if I should use "server.mydomain.com" or just "mydomain.com" where this tutorial use "server1.example.com"? , MacGoose
No. It has to be a subdomain like server1.example.com. If you would use example.com as hostname, then the postfix mailsetup will fail as you can not use a domain as hostname / mailname that is later used for (virtual) email accounts.
Thanks! But then should I use the same server name for all the servers? Like shouldn't the mail server have a different name than the http server and the ftp server? As http is www.* and ftp is ftp.* Then should mail for example be mail.*? Or is the server name used here just a common name and if I set my server up with server.mydomain.com it will not cause any conflicts with the different servers? , MacGoose
Every server (hardware) system needs a different hostname as hostnames have to be uniqie. So you use server1 for the first linux system that you install and server2 for the second etc. The hostname of the server has nothing to do with subdomains that you use for services running on that server like ftp etc.
I get confused by that the server name is "server1" and then the full name "server1.example.com" is used for the mail server. I cannot see the connection nor the difference here. I think I understand though. The hw server needs a name - "server1". And the mail server needs the hw name and the domain - "server1.example.com"...?
The server name is server1.example.com and not server1. I just shortened the names in my post. Every server that is connected to the internet needs a fully qualified domain name as hostname.