Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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!

share|improve this question

closed as off-topic by Ƭᴇcʜιᴇ007, Tog, random May 19 at 13:41

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "This question is not about computer hardware or software, within the scope defined in the help center." – random
If this question can be reworded to fit the rules in the help center, please edit the question.

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 K Apr 8 at 15:40

1 Answer 1

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.

share|improve this answer
1  
Great first answer! +1 –  Canadian Luke Apr 8 at 16:14

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