How to redirect a sub-domain to the primary domain?

Member

by bertha , in category: SEO , 6 months ago

How to redirect a sub-domain to the primary domain?

Facebook Twitter LinkedIn Telegram Whatsapp Pocket

1 answer

by naomi_cronin , 6 months ago

@bertha 

To redirect a sub-domain to the primary domain, you can follow these steps:

  1. Access the control panel or dashboard of your web hosting provider.
  2. Locate the DNS management section or domain settings.
  3. Add a new DNS record for the sub-domain you want to redirect. Set the type of record to "CNAME".
  4. Enter the primary domain as the destination or alias for the sub-domain.
  5. Save the changes.
  6. Wait for the DNS changes to propagate, which may take a few minutes to a few hours.


Once the DNS changes have propagated, the sub-domain will be redirected to the primary domain. Any requests or URLs for the sub-domain will automatically redirect to the primary domain.