How to Redirect a URL for a Domain Print


How to Redirect a URL for a Domain

Summary:
DNS itself doesn’t perform redirects — but you can combine DNS and web server settings to redirect domain traffic.

Option 1: Use cPanel Redirect Tool

  1. Log in to cPanel.
  2. Go to Domains > Redirects.
  3. Select the domain to redirect.
  4. Enter the destination URL.
  5. Choose Permanent (301) or Temporary (302).
  6. Click Add.

Option 2: Use .htaccess File

If you're using Apache hosting:

Redirect 301 / https://newdomain.com/

Option 3: Use Cloudflare or DNS Host with Page Rules

Some DNS providers allow redirect rules via web UI (e.g., Cloudflare Page Rules).


Was this answer helpful?

Related Articles

What is DNS and How Does It Work? What is DNS and How Does It Work? Summary:DNS (Domain Name System) acts like the phonebook of... Understanding DNS Record Types Understanding DNS Record Types Summary:A quick overview of the most common DNS records you’ll... How to Add DNS Records via cPanel How to Add DNS Records via cPanel Summary:Step‑by‑step instructions for managing DNS records on... How to Set Up a Subdomain DNS Record How to Set Up a Subdomain DNS Record Summary:Point a subdomain like blog.yourdomain.com to... How to Add SPF, DKIM & DMARC Records How to Add SPF, DKIM & DMARC Records Summary:Boost your email delivery by adding key TXT...
« Back