Hi
I am building my server now and I could really use some help on a few things:
My Details:
Operating system: CentOS Linux 6.0
Webmin version = 1.562
Virtualmin version = 3.88.gpl GPL
Kernel and CPU Linux 2.6.32-71.29.1.el6.x86_64 on x86_64
Setting up IP Addressing:
Specifically - I have my assigned static ip addresses from my colocation facility and I am not sure how to set them up.
I want to make sure that I have it setup correctly before I ship the server to the data center so I can access the machine after its setup.
I have been given the subnet, Default Gateway, Customer Primary IP, and 4 additional Customer IP addresses
Its my understanding to set the IP addresses up correctly I do the following:
-
Login to the CENTOS6 Desktop
-
Go to System - Preferences - Network Connections - select Auto eth0 - and edit.
-
Click on the IPv4 Settings. Enter my Customer Primary IP in the Address field; the subnet mask givin in the Netmask field, and the Gateway provided in the Gateway field.
-
For the DNS servers field enter: 127.0.0.1
-
What about the 4 additional IP Addresses I have been given? Do I assign them by going to “Edit Virtual Server” - External IP Address - check the circle and enter the additional customer IP address given in the box. Doing this of course for my sites that require a SSL certificate - leaving the default option selected for “same as real address” for sites that do not need a static IP.
-
Currently - when I go in virtualmin “System Settings” - “Re-check Configuration” I get the following error: Default IP address is set to 192.168.1.7, but the detected external address is actually 67.XXX.XXX.XXX. This is typically the result of being behind a NAT firewall, and should be corrected on the module configuration page. Is this something I need to do? Or is this a temporary thing that I am seeing while the machine is on my LAN and by setting the IP as listed above will fix this error?
Setting up the domain name for my server:
When installing virtualmin the install states that you need to choose a fully qualified domain name - one for which you will not be recieving mail. I will be purchasing a domain name from godaddy for use with Virtualmin. The blurb on fully qualified domain names says:
“The install script will add this name to /etc/hosts, which will satisfy all local services. It is even better if this name resolves correctly when looked up from outside of the system–this requires the name be added to your DNS zone for the second level domain. If the Virtualmin server you are installing will be the authoritative name server for this zone, you can later use Webmin to add a record for this name to the zone.”
Can you please explain this to me because I am not understanding this?
Would I register the domain name = test.com and when installing virtualmin name the virtualmin server ns1.test.com?
I assume I need to add dns records at godaddy.
This part also confuses me: " If the Virtualmin server you are installing will be the authoritative name server for this zone, you can later use Webmin to add a record for this name to the zone."
Since this is my 1st server I assume I will also need to do this. To do this I plan on following the instructions listed here: http://www.virtualmin.com/node/6827 Is this the guide I should follow?
Thanks in advance!