0
|
Hello, Thanks for your question about using a Parked domain or addon domain. First, the Parked domain is now called an "Alias" in the cPanel. The best way to handle this is to add a rewrite command in your .htaccess file. If you are unfamiliar with editing your .htaccess file, please see this article. Here's the code that you would use in the .htaccess file for the redirect. This is an example of a 301 redirect. Here's the code - make sure replace the URLs in the code with your corresponding domain names: RewriteEngine On RewriteCond %{HTTP_HOST} ^domain.com$ [OR] RewriteCond %{HTTP_HOST} ^www.domain.com$ RewriteRule ^(.*)$ http://newdomain.com/$1 [R=301,L] Basically, the code above looks for the condition of the "domain.com" or "www.domain.com" and then rewrites it per the contents of your "rewrite rule." |
Email: | support@WebHostingHub.com | Ticket: | Submit a Support Ticket |
---|---|---|---|
Call: | 757-416-6627 | Chat: | Click To Chat Now |