How to Redirect a Subdomain to an External URL (2026 Beginner’s Guide)
Introduction
If you want visitors who open your subdomain to automatically land on another website, learning how to redirect a subdomain to an external URL is the easiest solution.
For example, suppose you own blog.example.com, but your blog is now hosted on another platform like Medium, Shopify, Wix, or another domain. Instead of asking visitors to remember a new address, you can automatically send them to the correct website.
Redirecting a subdomain helps keep your website organized, improves the visitor experience, and ensures people always reach the right destination.
In this beginner-friendly guide, you’ll learn:
- What a subdomain redirect is
- Why redirects are useful
- What you’ll need before starting
- How to redirect a subdomain to an external URL using cPanel
- Common problems and their solutions
- Best practices to follow
Whether you’re a blogger, business owner, or WordPress user, this guide makes the process easy to understand.
What Is a Subdomain Redirect?
A subdomain redirect automatically sends visitors from one web address to another.
Instead of displaying content from the subdomain itself, the server forwards visitors to a different website.
Example
Imagine your main website is:
example.com
Your blog is located at:
blog.example.com
Now you’ve moved your blog to:
https://mynewblog.com
Rather than telling everyone the new address, you simply redirect:
blog.example.com
to
https://mynewblog.com
Anyone visiting the old subdomain is automatically taken to the new website.
This creates a smoother experience and prevents visitors from seeing outdated pages.
Why Is Redirecting a Subdomain Important?
Redirecting a subdomain has many benefits.
It Prevents Broken Links
Visitors using old bookmarks still reach your content.
It Improves User Experience
Users don’t have to search for your new website.
It Helps During Website Migration
If you’ve moved to another hosting provider or website builder, redirects ensure visitors aren’t lost.
It Supports Marketing Campaigns
Create short and memorable subdomains like:
offer.example.com
that redirect to long landing page URLs.
It Helps Keep Branding Consistent
Visitors continue using your branded subdomain while accessing content hosted elsewhere.
Requirements Before You Start
Before creating the redirect, make sure you have:
| Requirement | Why It’s Needed |
|---|---|
| Hosting account | Access to your website files |
| cPanel login | To manage domains and redirects |
| Existing subdomain | The subdomain you want to redirect |
| Destination URL | The external website address |
| Modern browser | For easy access to cPanel |
| Backup (recommended) | Safety before making changes |
Note: Redirecting a subdomain usually doesn’t affect your website files, but having a backup is always a good practice.
Step-by-Step Guide: How to Redirect a Subdomain to an External URL
Step 1: Log in to cPanel
What to Do
Sign in to your hosting account and open cPanel.
Why You’re Doing It
The Redirects feature is available inside cPanel.
What You’ll See
The cPanel dashboard with different management tools.
Beginner Tip
Use the search bar at the top of cPanel if you cannot find a feature.
Common Mistake
Using the wrong hosting account if you manage multiple websites.
Step 2: Open the Redirects Tool
What to Do
Locate the Domains section.
Click:
Redirects
Why You’re Doing It
This tool allows you to send visitors from one URL to another.
What You’ll See
A page with redirect settings including:
- Redirect type
- Domain selection
- Destination URL
Beginner Tip
Don’t confuse Redirects with Domains or Subdomains.
Common Mistake
Editing DNS settings instead of using Redirects.
Step 3: Choose the Redirect Type
You’ll usually see two options.
Permanent (301)
Use this if the redirect will stay forever.
Best for:
- Website migration
- Moving a blog
- Rebranding
- SEO
Temporary (302)
Use this only if you’ll remove the redirect later.
Best for:
- Testing
- Maintenance
- Temporary promotions
Why This Matters
Search engines understand whether the move is permanent or temporary.
Beginner Tip
For most situations, choose 301 Permanent Redirect.
Step 4: Select Your Subdomain
From the dropdown menu:
Choose your subdomain.
Example:
blog.example.com
Why You’re Doing It
This tells cPanel which address should redirect visitors.
What You’ll See
The selected subdomain displayed in the redirect form.
Common Mistake
Selecting the main domain instead of the subdomain.
Step 5: Enter the External URL
In the destination box, type the full website address.
Example:
https://newblog.com
Always include:
https://
Why You’re Doing It
This is where visitors will be redirected.
Beginner Tip
Double-check the spelling.
A single typo can redirect users to the wrong website.
Common Mistake
Forgetting HTTPS.
Step 6: Configure Redirect Options
Some hosting providers allow options such as:
- Redirect with or without www
- Wild Card Redirect
- Preserve URL paths
Should Beginners Enable Wild Card Redirect?
Only if needed.
Example:
blog.example.com/post1
redirects to
newblog.com/post1
Otherwise, leave it disabled.
Step 7: Create the Redirect
Click:
Add
or
Save
depending on your hosting provider.
What You’ll See
A success message confirming the redirect has been created.
Beginner Tip
Wait a few minutes before testing.
Some hosting environments take time to update.
Step 8: Test the Redirect
Open a browser.
Visit:
blog.example.com
You should automatically arrive at:
https://newblog.com
Also test:
- Chrome
- Firefox
- Edge
- Mobile browser
Common Mistake
Testing while browser cache is still active.
If the redirect doesn’t work immediately:
- Clear browser cache
- Open Incognito Mode
- Wait several minutes
Understanding Redirect Types
| Redirect Type | Best For | SEO Friendly |
| 301 Permanent | Permanent website move | Yes |
| 302 Temporary | Short-term changes | Limited |
Most website owners should use 301 redirects.
Best Practices
Follow these tips for a successful redirect:
- Always use HTTPS URLs.
- Test the redirect after creating it.
- Use 301 for permanent moves.
- Keep destination URLs updated.
- Avoid redirect chains.
- Redirect only when necessary.
- Back up your website before major changes.
- Monitor redirects regularly.
- Remove outdated redirects.
- Document important redirects.
Common Problems and Solutions
| Problem | Solution |
| Redirect doesn’t work | Check the destination URL |
| Too many redirects | Remove redirect loops |
| Browser shows old page | Clear cache |
| Wrong website opens | Verify the destination URL |
| HTTPS errors | Confirm SSL is installed |
| Redirect is slow | Wait for server updates |
| Redirect keeps loading | Check for multiple redirects |
| Page not found | Verify the destination website exists |
Frequently Asked Questions
1. What is a subdomain?
A subdomain is a separate section of your main website, such as:
blog.example.com
or
shop.example.com
2. Can I redirect a subdomain to another domain?
Yes.
You can redirect visitors to any valid website or domain.
3. Should I choose 301 or 302?
Use 301 if the redirect is permanent.
Use 302 only for temporary situations.
4. Will visitors notice the redirect?
Usually not.
They’ll automatically arrive at the destination website.
5. Does redirecting affect SEO?
A properly configured 301 redirect helps preserve search engine rankings when moving content permanently.
6. Can I remove the redirect later?
Yes.
Simply return to cPanel and delete the redirect.
7. Why isn’t my redirect working?
Common reasons include:
- Browser cache
- Incorrect destination URL
- DNS propagation
- Redirect loops
8. Can I redirect multiple subdomains?
Yes.
Each subdomain can have its own redirect.
9. Does redirecting delete my website?
No.
Redirects only forward visitors.
They do not delete files or databases.
10. Can I redirect to a social media page?
Yes.
You can redirect a subdomain to:
- YouTube
- Medium
- GitHub
- Any public website
Conclusion
Learning how to redirect a subdomain to an external URL is a valuable skill for any website owner. Whether you’re moving your blog, launching a new website, or sending visitors to a landing page, cPanel makes the process quick and beginner-friendly.
By using a 301 permanent redirect, testing the result, and following best practices, you can provide a seamless experience for visitors while maintaining your website’s organization and SEO.
Take a few minutes to verify your redirect after setup, and review it occasionally to ensure it still points to the correct destination.
