Articles on: Web Hosting
This article is also available in:

Redirect a Domain or URL

ℹ️ Important: This article applies to our Web and Reseller Hosting packages.


Redirect a Domain or URL
Redirect with PHP script
Redirect with .htaccess file
Instructional Video


Redirect a Domain or URL



Log in at https://voorbeeld.cc:2222 (or use Single Sign-On (SSO)).
Under Account Manager, click Site Redirection.
At the top right, click + CREATE NEW REDIRECT.
Fill out the form as follows:

Local URL Path: enter / to redirect the entire domain, or /folder to redirect only voorbeeld.cc/folder.

Redirect Type:

301 – Permanent: recommended for permanent redirects.
302 – Temporary: recommended for temporary redirects.
303 – See Other: not recommended unless specifically required.

Destination URL: enter the new address you want to redirect to.

Click the CREATE button to set up the redirect.

The redirect is now active.

ℹ️ Note:

If you want to forward a domain without hosting, you can use our free forwarding service. (More info: Forwarding a domain name)


Alternative redirect methods



📄 Redirect with PHP script



Place the following code in a PHP file:

<?php
header("HTTP/1.1 301 Moved Permanently");
header("Location: https://xynta.com/");
exit();
?>


📄 Redirect with .htaccess file



Add the following lines to your .htaccess file:

Options +FollowSymLinks
RewriteEngine on
RewriteRule (.*) https://xynta.com/$1 [R=301,L]


📌 Important:

Replace voorbeeld.cc with your actual domain name.


🎦 Instructional Video



Updated on: 16/05/2025

Was this article helpful?

Share your feedback

Cancel

Thank you!