Domain/dns Q

hello guys and gals quick Q,
i have purchased 2 domains on DH
one is my main that came with the webspace - and i want the secondary to point onto the same webspace too.
i understand that the best way to do that would be to
change either the a or cname records right ? it only appears that those are hardcoded here ? is it possible to do that ?

i will have a more thorough look through the wiki, although at a first glance i didn’t find an answer.


If you have webspace, then you have the full hosting package. The easiest way to do what you’re asking is to go to the panel and Mirror the first domain.


hm, true indeed, but i want it if possible to be able to not land on the first page of the original site, so as to mask the original site, but use the path on other ones !

any ideas ? maybe re-writing some serverside file ? .htaccess or something likewise ???

You can use the Redirect option instead of Mirror:


that is true - but i think the resources bar or properties would reveal the real source that way, so i guess - mirroring is the way to go and i will try to make the site - that the domain lands to re-act, in a different way - if the visitor arrives from the secondary domain… instead of the real one.

otherwise - it does what i want - conceals the source of the files on the other sites, so your help is greatly appreciated.

Just one final Q - is it completely - impossible to meddle with the Cname and A records on dreamhost ?! (just for some other things i might want to do)

You can work with CNAME (and other Types) of DNS records here. It’s pretty flexible.

There may be a way to handle your request via CNAME and .htaccess rewrite rules, but I’m no .htaccess wizard.


You could use a 301 redirect in the secondary.

.htaccess contents:

Options +FollowSymLinks
RewriteEngine on
RewriteRule (.*) http://[color=#0000CC][/color]/$1 [R=301,L]

Spiders will update their links to your primary site when they see that, which is handy if your secondary already has some Search Engine rankings.

Maximum Cash Discount on any plan with MAXCASH