I have been using Virtualmin GPL with great success for around 6 months or so now and I love the flexibility of the system.
I have a minor issue at the minute with domain aliases, I’ll explain the dilemma below.
My configuration is this.
- fairlylongurladdress.co.uk is a ‘Top-Level Server’ where the contents of the main website is stored and served from.
- fairlylongurladdress.com, shorterurl.com and oldurl.co.uk are all ‘Alias Servers’ of fairlylongurladdress.co.uk.
- shorturl.co.uk is a ‘Top Level Server’ which is configured to receive mail for all of the domains above via a mail alias of all being directed to the mail user in shorturl.co.uk, but has a web redirect of the root ‘/’ to fairlylongurladdress.co.uk.
The intention of this setup was to catch old traffic visiting the oldurl addresses and to catch anyone using the short mail url in a browser and redirect them to the new main site at fairlylongurladdress.co.uk. My client also wanted a shorter url for emails, hence the shorterurl.co.uk domain name web redirect.
This works almost as I intended it, however I have an issue where anyone navigating to oldurl.co.uk via search results are being showed the new content but at the old domain. Is this how it is intended to work or is something not configured correctly?
I hope this is explained in enough detail, but let me know if you need any more info.
Cheers in advance.