How to enable website redirection in DirectAdmin?
1. Login to your DirectAdmin control panel via the URL [ https://servername:2082/ or https://serverip:2082/ ]
2. Click on Site Redirection under Account Manager.
3. Click on New Redirect and enter the below details.
Local URL Path – /
Redirect Type – 301 — Permanent
Destination URL – Your new domain or subdomain.
4. Click on create.
You have successfully set the redirection for your website.