So I have a few URL’s of my own. Let’s call AllSites.com my main one that I named my Ubuntu 16.04 server with. After getting Virtualmin up and running on the AllSites server do I immediately create a new virtual server for AllSites.com?
That seems wrong to me because admin@allsites.com isn’t a virtual mail account, it’s a real Unix account. My instinct is to make a default server in Apache for HTTP and HTTPS which represents any outside request for AllSites.com.
I saw that after creating my first virtual server via the Virtualmin interface, let’s call it FirstCoolSite.com, that entries automatically went into BIND, which I never did in the past when just using Webmin to host all of my sites. Also, any new attempt to browse to AllSites.com after the addition of FirstCoolSite.com will display FirstCoolSite.com because Virtualmin didn’t automatically assume that AllSites.com was the default Apache virtual host.
I envision my AllSites.com to be a place where badly formed URL’s for a Virtualmin virtual server will render a page that shows good links to the sites I do host helping the person get to the right place for their browsing.
So where is the link to best practices regarding this matter? I would like to do things the Webmin/Virtualmin way to avoid any snares of my own “cleverness” in the future.