> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.serverfreak.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# How to Set Up Domain Redirection in Direct Admin




A domain redirection occurs when a web server redirects a visitor from one website to another website. An example is when we use www.domain1.com which redirects to another domain called www.domain2.com

Here's how we can setup a domain redirection in Direct Admin:

1) Login to Direct Admin and click Account Management and choose Site Redirection
 
![](https://storage.crisp.chat/users/helpdesk/website/30c43b4318b81000/capturepng_1q5np1x.png)

2) On the ADD NEW REDIRECT pop-up :

Local URL Path : Choose Domain name. For the slash '/' field, enter any folder names (if necessary) or leave it blank.
Redirect Type: select the redirection type
To specify a permanent redirection, select Permanent (301).
To specify a temporary redirection, select Temporary (302).
In this example, I'm going to select the Permanent (301) option
Destination URL : Enter the web address you want to redirect to 


![](https://storage.crisp.chat/users/helpdesk/website/30c43b4318b81000/capturepng_u2oxoo.png)
 

3) Click CREATE
 



