To create a redirect (temporary or permanent for a domain:
- Make sure the domain to redirect has our nameservers configured.
- Log into Virtualmin.
- Choose the domain for which you would like to add the URL redirect. You can do that by selecting the domain name from the drop-down box on the top-left.
- Click Services.
- Click Configure Website.
- Click Aliases and Redirects.
- Create Virtual Server : sub-server, put as Domain name the domain to redirect, Open "Enabled" features pane, and remove all checkboxes except: "Setup website for domain?" and "Setup DNS zone?" and click button "Create Server"
- Then in: Temporary URL redirects put as From: / (just a slash) and in To: http://www.YourDestinationToWhichToRedirect.com/ then Click SAVE button,
- then click "Apply" link at top right.
- Done!