Redirect for domain issue

I have and have now purchased a domain - both are working but I would like to redirect traffic that visits epizy address so they arrive at domain. What is the best practice in situations like this?

Hope this makes sense.

Do you mean redirecting to

you can create .htaccess file and put these in it:

RewriteCond %{HTTP_HOST} ^fewcharecords\.epizy\.com [NC]
RewriteRule ^(.*)$$1 [L,R=301,NC]

Thank you for your fast reply:)

Will the file named .htaccess contain anything else?

Does this go into the root of htdos?

Oh, forgot to say put RewriteEngine On at top of the htaccess files.

the code i gave you can used everywhere of htaccess file.



Just this text ?

  1. ↩︎

and RewriteEngine On at top of the htaccess files.

1 Like

like this?

RewriteEngine On
RewriteCond %{HTTP_HOST} ^ [NC]
RewriteRule ^(.*)$$1 [L,R=301,NC]

use this:

RewriteEngine On
RewriteCond %{HTTP_HOST} ^fewcharecords\.epizy\.com [NC]
RewriteRule ^(.*)$$1 [L,R=301,NC]

sorry i didn’t check it carefully first :sweat:


I have created the file with that text and placed into htdocs.

Just tried but dos not appear to be working yet. I will try again later to see if it has updated.

Thank you.

You can also create redirects from this section too:

(first clear the .htaccess file)

select your subdomain, then redirect it to your domain.


Perfect this method worked:)

1 Like

Which solution works best depends on how you set up the domain. If you added your new domain as an Addon Domain, the Redirects too works well. If you added it as a Parked Domain, then .htaccess snippet should be used instead.


This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.