×


Plesk Domain forwarding Setting it up

Plesk has a feature to set up domain forwarding which helps to redirects the traffic from domain to another domain.

Here at Ibmi Media, as part of our Server Management Services, we regularly help our Customers to solve Plesk related issues.

In this context, we shall look into the process of setting up domain forwarding in Plesk and resolving Plesk related errors.


How we add a domain forwarder in Plesk?

Domain forwarding allows automatically direct the domain's visitors to a different location on the web. 

Here, you will learn how to set up domain forwarder.


1. Initially, we log in to the Plesk control panel.

2.  Then, we go to Websites & Domains > Add Domain.

3. In the Domain name box, type the domain name that has registered with the service provider or a domain name registration company and from which you want to redirect visitors.

4. After that, we select the option Use our DNS settings from the DNS server configuration option.

5. Again, we select the Forwarding option in Hosting type,

6. In the Destination address box, we enter the URL address to which want to redirect visitors.

7. Finally, we select standard or frame forwarding for Forwarding type.


In addition, Plesk allows setting domain redirection for the websites which are already existing on the server.

For that,

i. We go to Websites & Domains >> Hosting Settings.

ii. Then, we click on the Change option from the Hosting Type field.

iii. Next, under Hosting type, we select the option as Forwarding and enter the URL address in the Destination address box. Also, we set up a Forwarding type either as select standard or frame forwarding.


How to fix common errors related to Plesk domain forwarder ?


1. Wrong DNS settings

Sometimes, the customers face problems after setting up a domain forwarding in Plesk. Like, the website forwarding does not work, and got an error 404 Server Not Found.

Sometimes, the error happens when the given destination domain name resolves to an incorrect IP address.

So, it is recommended to contact the domain registrar company where the domain name was purchased to set the correct IP address on the DNS zone.


2. Missing SSL certificate

Similarly, another error is due to missing SSL certificates on the forwarded domain. Therefore the redirection from http://abc.com to https://xyz.com won't work anymore.

Mostly, this often happens with occurs with Let’s Encrypt, because the token file cannot be read on a redirected domain.

Therefore, you need to configure the domain as web space and place the following rule in .htaccess file which is located in the document root directory of the domain:


RewriteEngine On
RewriteCond %{REQUEST_URI} ^/.well-known/acme-challenge [NC]
RewriteRule .* - [L]
RewriteRule ^(.*)$ https://xyz.com/$1 [L,R=301]


Then, the Let's Encrypt SSL certificate is generated for the domain.

This is how to resolve the problem.


[Need assistance in domain forwarding? We'll help you.]


Conclusion

This article will guide you on the process to configure #Domain #forwarding in #Plesk which allows forwarding one domain to another domain and helps website owners who want to move their websites without losing traffic. We also discussed Plesk domain forwarding related #errors.