> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.ex2.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 redirect a subdomain to an external URL?

# Here's how to redirect a subdomain to an external URL

1. [Log into your cPanel account](https://help.ex2.com/en/article/how-to-log-in-to-my-cpanel-account-xyoqm0/?bust=1676305236426).

2. In the Domains section of [cPanel](https://help.ex2.com/en/article/what-is-cpanel-vq3toz/?bust=1784817968076), click the Domains icon.

![](https://storage.crisp.chat/users/helpdesk/website/52421894134f0400/cpanelex2domains_sss08n.jpg)

3. To the right of the subdomain you want to edit, click the Manage button.

![](https://storage.crisp.chat/users/helpdesk/website/52421894134f0400/supprimerdomaine2_pgmy8p.jpg)

4. From the menu on the right of the window, click Modify the redirects.

![](https://storage.crisp.chat/users/helpdesk/website/52421894134f0400/domainredirect1_3mhbad.jpg)

5. Enter the redirect settings you want to use and click Add.

![](https://storage.crisp.chat/users/helpdesk/website/52421894134f0400/redirectiondomaine2_b7rjct.jpg)

You should then see a success message informing you that the redirect has been successfully created have been successfully modified.