Hello. I have been trying to get this working for about a week now (@7 hour days) and am still no further ahead. I have searched and read dozens of articles here, and elsewhere, and can’t seem to get my head around what I am doing wrong.
Thankfully I have a backup of a freshly installed VirtualMin GPL on CentOS 6 64bit that I made after re-installing for the 8th time.
So here is the scenario :
I have a VPS with CentOS 6.3 64bit and the latest VirtualMin GPL. The VPS Host allocated 1 IP address with my account and I used a fluff hostname that doesn’t resolve/exist anywhere.
I would like to use this VPS to host and run multiple domains (5 approximately, all low or no activity). They are all top level domains, no subdomains. They are all going to be used/administered/maintained by me but I would like them to all have their own site folder under /home (not as /home/me/domains/etc…). So I am trying to create all 5 as top level servers.
I use FreeDNS for all my domains and have added them all there in the form of
{DOMAIN} A [IP provided by VPS host]
ftp.{DOMAIN} A [same IP]
www.{DOMAIN} A [same IP]
{DOMAIN2} A [same IP]
ftp.{DOMAIN2} A [same IP]
www.{DOMAIN2} A [same IP]
{DOMAIN3} A [same IP]
ftp.{DOMAIN3} A [same IP]
www.{DOMAIN3} A [same IP]
etc... (with a bunch of mx records to point to googleapps and some redirects to mail.{domain} going to googlemail as well)
This is where I get confused. Everything is pointing to that one IP. Do I need BIND at all then at this point? If not, how do I configure a server template to host these virtual hosts? Should I use the “Shared IP” option or should I be creating Virtual IP Ranges on the NiC? (I have tried both and haven’t seemed to be able to get it working either way)
Do I need to make 1 of the 5 domains a default in case someone manually types in the 1 IP address? Or should I make a static index.html page somewhere for that?
I don’t need/want the ability to use mail. I use GoogleApps for that when I need it. I have left postfix running for system generated emails, but I believe I can turn off dovecot, sendmail, clamav, spamassassin. Is this correct?
I also don’t plan on using FTP anonymously (again only me uploading files). Can I turn off ProFTPd? Do I need to use SCP if I turn off ProFTPd?
I apologize if my “search-fu” isn’t good enough to turn up the answers if they are already here, but I have indeed spent a lot of time trying to sort it out on my own.
Any help / direction?
Thanks in advance for any advice. Feel free to ask for any clarity if I muddied anything.
Jean-Guy.