How to Redirect a Subdomain to another Domain using Additional Directives

December 26, 2023 / Domain and DNS

In this article, we will explain how to redirect a subdomain to another domain using additional directives.

Let us follow the steps:

  1. Log in to Plesk.
  2. Select the “Domains” section.
    Domains
  3. Select the subdomain as shown in the image given below.
    subdomains
  4. Select the “Hosting & DNS” tab and click on the “Apache & nginx settings” sub-option.
    Hosting & DNS
  5. Enter the below line in the space provided-
    return 301 http://www.example.com/
  6. Click on the OK button.
    ok

This way, you can redirect a subdomain to another domain using additional directives.

Spread the love