domain redirect to another domain with dns

My domain with hosting plan: testing.com Other domains, but without hosting plan: test.com and test2.com All of them buyed on same company, so NS records same.

Maybe DNS type A would help in this situation ?

In short, if someone try to use test.com or test2.com all users would be redirected to testing.com

Answers


I assume you talking about web-hosting. If your hosting plan is name-based virtualhosting (and that is what you probably have), The answer is: DNS is not enough.

You have two options:

  1. Add multiple domain names to your hosting (most hostings will allow this either for free up to N domains, or for some additional fee or as part of more expensive plan).

  2. Use URL forwarding (aka URL redirection) service, like this one (there are plenty other providers as well).

With both methods, you need appropriate DNS records in your domains, it can probably be handled by either - hosting for option 1, or URL forwarding provider for option 2. Basically you will need A records pointing either to your hosting, or URL forwarding webserver.


Need Your Help

Adding values together javascript

javascript

How can I get the totals from these inputs to total up depending on what a user inputs.

Algorithm optimization to find possible aminoacid sequences with total mass m

python optimization python-3.x bioinformatics

This is for a homework assignment, I solved the problem but I'm trying to find a faster solution.

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.