how to have two domains under one hosting account

Status
Not open for further replies.

diths802

New member
i have actually bought two domains. so the new domain i bought would be just a mirror sight of the old one. the new one will redirect to the old domain when a user will access. so how can add two domain under one hosting account in WHM? please help..
 
You could use the domain add on feature in cPanel to do this or you could set up a new account in WHM and forward the domain to the old domain.
 
No, from what I gather he wants both domains to go to the same website. To do that, go to your cPanel and "Park" the domain ontop of the original.
 
Use domain parking to "park" the 2nd domain on top of the first one.. and then use .htaccess mod_rewrite rule to "redirect" any access to the parked domain to the proper domain. Must easier this way, then having to upload the same files to two different locations.

Here's a link to a feature request in cpanel add this functionality: http://bugzilla.cpanel.net/show_bug.cgi?id=2618

Feel free to vote for it if you think it would be useful. :)

Also note that one of the comments in the feature request has the necessary .htaccess mod_rewrite rule to accomplish what I described.

:)
 
If you use two domains then I guess it may be best to use a 301 redirect using .htaccess so that the major search engines see it as a permanent redirect. This way you should have now problem with doing seo in the search engines.
 
Status
Not open for further replies.
Back
Top