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.
    Home Domains
  3. You will discover a list of domains. Select the Domain.
    domains
  4. Select the Hosting & DNS tab and click on the Apache & nginx settings sub-option.
    hosting & DNS> Apache & nginx
  5. Enter the line in the space provided:
    return 301 http://www.example.com/
  6. Click on the OK button.
    additional nginx

This way, you can redirect a subdomain to another domain using additional directives. If you need additional assistance, feel free to contact our support staff.

Spread the love