I have three domains:

  • domain1.com
  • domain2.net
  • domain3.org

...and I want two of these domains to point to my primary domain (the one ending in .com) WITHOUT using any redirects. How do I do this in cPanel?

I'm still new to managing domains / setting up websites and I followed this tutorial on making sure each of the domains work on their own. Now I want to point two of these domains to a single domain but I don't want to use a 301 redirect.

Any help? Thank you!

  • 1
    In a nutshell - point the .net and .org domains to the same directory (or IP address) that the .com points to. You physically cannot change the URL to .com without a 301. – Mike Koch Apr 8 '14 at 15:40

Is this a "DNS only" question or a web hosting question? I assume you are not discussing an e-mail routing question.

You can easily setup vhosts so that multiple domains share the same root folder. That way you get the same pages when you visit domain1.com or domain2.net and there is no redirection.

If all traffic is going to go to domain1.com you can setup an alias (cname) record in your domain2.net DNS server so that all reference to domain2.net go to domain1.com. This is not "redirection" in the sense that clients will still keep pointing to domain2.net.

If you want a user who visits http://domain2.net to magically be served pages from http://domain1.com (as seen in the URL bar) then you are going to use redirects or url rewriting. That is really the best solution in that it forces all traffic to really come/go from domain1.com as expected. You are simply trying to catch people who put in the alternative domain2.net url and send the to the proper place.

Not the answer you're looking for? Browse other questions tagged or ask your own question.