I've setup a LAMP server on Ubuntu 10.04 (lucid) and have also installed Virtualmin. This is my first attempt at setting up a server of any sort.
I set up one virtual host using Virtualmin and so far so good. Some odd things are happening though, such as when I type in my primary domain into a browser, I see the contents of the virtual server instead of what should be in the default directory.
I'm going to use 123.345.789 and example.co.uk instead of my actual ip and domain name's if thats ok.
I checked my hostname by using
as my response
The contents of my /etc/hosts file is (ip's and domain changed to something generic for this post):
127.0.0.1 localhost localhost.localdomain 123.456.789 production1.example.co.uk 123.456.789 production1
shouldn't my FQD be production1.example.co.uk? How can I go about changing this?, a simple step by step instruction would be great! thanks in advance.