1

I have several top level domains registered, how do I make all these domains point to one single domain through DNS (is this possible or should I do a redirect?)

i.e. my site.info is up an running with dreamhost

how do i point all the other domains .co, .com etc., to the .info in DNS..

Or is there a better way?

Santthosh
  • 123
  • 1
  • 1
  • 6

2 Answers2

2

Point all your domain names to your webserver. You can use a CNAME record for www.site.com (pointing to site.info), but you must use an A record (i.e. an IP address) for site.com.

You then have two options for the webserver setup. You can either treat all hostnames as the same site (i.e. your site is served on all the hostnames), or you can redirect all other hostnames to your canonical hostname. The latter is generally preferred (consistently named links to your site and better search engine indexing).

mgorven
  • 30,036
  • 7
  • 76
  • 121
  • Cool, Thanks mgorven. I did this but get 'error id: "bad_httpd_conf"' when I reach the site through .com... Probably Dreamhost (where I host .info) filters based on the address. .info works fine though – Santthosh May 14 '12 at 23:57
  • Ok I have more details on the bad_http_conf: http://wiki.dreamhost.com/Bad_httpd_conf – Santthosh May 15 '12 at 00:02
  • Did you configure DreamHost with the extra domains (for HTTP)? – mgorven May 15 '12 at 00:09
1

CNAME DNS records.

You could use A records as well, but you'd have to manually change all of them if you change the web server ip address.

joeqwerty
  • 108,377
  • 6
  • 80
  • 171