I have managed to get a VPS setup and running with virtualmin/webmin using the automated install script.
My VPS is using: Ubuntu 12.04 64bit.
I registered my own nameservers at godaddy where my domains are as:
but my vps only has one ip addess and I just used it for both. Is this going to be a problem? Anyway they seem to be resolving ok.
I have added two virtual servers in virtualmin and both domains seem to be resolving to their httpdocs folder ok.
The first of my problems is with the mx records, I am getting the following warning:
Warning - errors were found in this domain's DNS records : This domain has email enabled, but none of the MX records mail.harmlesshosting.co.uk point to it. Either the MX records should be corrected, or the email feature disabled if mail is hosted externally.
and my mx records do seem to be pointing to godaddy and not my vps.host -t mx harmlesshosting.co.uk
harmlesshosting.co.uk mail is handled by 0 smtp.secureserver.net. harmlesshosting.co.uk mail is handled by 10 mailstore1.secureserver.net.host mail.harmlesshosting.co.uk
mail.harmlesshosting.co.uk is an alias for pop.secureserver.net. pop.secureserver.net is an alias for pop.where.secureserver.net. pop.where.secureserver.net has address 18.104.22.168
To be honest I am pretty clueless about mx records! I have attached a screen shot of my dns records for the domain. How do I add the correct mx records to sort this out?
Also I am not sure how to add a new domain email address such as firstname.lastname@example.org and have all server related mail go their? I need my email to be reliable on this server.
The second of my problems is with mod-rewrite. I seen that the module was enabled in the Configure Apache Modules but it does not seem to be enabled inside each virtual server, how do I enabled it for each virtual server? as this is essential for my websites.
And lastly I managed to get joomla installed on one of the virtual servers but I noticed during the setup that it would not connect to the database with the virtual server username and password I had to use root and my root password. This obviously isn't right?