This is probably quite simple. I have two Linux servers. Both are running VIrtualmin, one professional, the other GPL. The professional server has a website on it that is static and the customer would like to make it a Wordpress site (simple request). So I thought that if I set the new domain up on the GPL server, run the Wordpress script, instead of messing with my host file I could use the domain alias feature instead. This would also mean a customer could view the site and approve it before I shift it to the Professional server.
Now I have followed the documentation found at https://www.virtualmin.com/documentation/web/faq. I've tweaked the Default Template as per it's recommendations to create an alias when adding a new domain. I have then proceeded to create the domain that resolves to the other pro server. Using the aliasdomain.com.virtualdomain.com I get "This webpage is not available" ERR_NAME_NOT_RESOLVED. This is in Chrome.
Now DNS is handled by another server so I'm not sure if this is a DNS issue. We have also removed BIND DNS from both servers (hopefully I don't need to install it again to get this to work). Any ideas as to what I'm doing wrong? If I change my host file to point the different IP address I can do everything I want, but I don't think I can get the customer to make a change to theirs. Plus this will be a neat feature when a customer wants to update something on their wordpress site, I can backup and restore the second server, make the changes and make sure all is good, backup and restore to the main server, minimal downtime.