Here's a step-by-step guide on how to set up a redirect for your domain in DirectAdmin:
1. Log in to your DirectAdmin control panel using your username and password.
2. Once logged in, click on the "Domain Setup" icon under the "Account Management" section.
3. On the Domain Setup page, click the "Modify" button next to the domain you want to set up a redirect for.
4. In the "Modify Domain" form, scroll down to the "Site Redirection" section.
5. Choose the type of redirection you want to set up:
- "Redirect with or without www": This option will redirect all requests for your domain with or without the "www" prefix to another domain or URL.
- "Redirect only without www": This option will only redirect requests for your domain without the "www" prefix to another domain or URL.
- "Redirect only with www": This option will only redirect requests for your domain with the "www" prefix to another domain or URL.
6. In the "Redirection URL" field, enter the domain or URL you want to redirect to.
7. If you want to redirect all pages and subdirectories of your domain to the new domain or URL, check the "Redirect with full path" option.
8. Click the "Save" button to save the redirect settings.
Congratulations! You have now successfully set up a redirect for your domain in DirectAdmin. All requests to your domain will now be automatically redirected to the new domain or URL you specified.