Solved

Multiple Domain names resolving 1 website on 1 server how to...

Posted on 2016-10-17
7
128 Views
Last Modified: 2016-11-11
I have 2 domains I own... Just happen to be bought from 2 different registrars... My question is this... I have both test.com and test101.com pointing to the same IP address in DNS via the different registrars.... Now do I only need to create an additional binding on the server for them to resolve the same site?

Example... I have www.test.com and test.com host name binding to port 80 and internal IP of the server... This site works great from the outside.... For me to have www.test101.com and test101.com work do I just need to create those 2 binding and also point it to port 80 and internal ip? My question is I did this... And it looked to work great... Then a couple days later my original site test.com stopped working and only test101 would resolve from the outside.

Hope this all makes sense... Let me know if anyone has any answers.
0
Comment
Question by:gsswho6
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
7 Comments
 
LVL 42

Expert Comment

by:kevinhsieh
ID: 41847706
Do test.com and test101.com have the same or different content?

If they have same content, and you have no other web sites, just use the default site. No specific binding necessary.

Be sure that when you try to ping test.com and www.test.com thatb it resolves to the proper public IP address. You can also use nslookup. If they don't resolve to the correct IP, the issue is with the DNS you have setup with the registrar, and nothing to do with IIS.
0
 
LVL 30

Expert Comment

by:captain
ID: 41848153
You can also use URL forwarding, so have one site on one host (www.test.com)

Then for www.test101.com set your forwarding in your registrar dashboard to either masked forwarding (where the user still sees the test101 address in the address bar but the content is test.com or redirect forwarding where the domain address also changes in the address bar.

That way you have as many infeeding domain names as you like with one content site and no need to change any IP or DNS settings.

I use this a lot for securing brand domains on multiple TLDs (.org, .net etc) to go to one .com site.

hth
capt.
0
 
LVL 37

Accepted Solution

by:
Mahesh earned 500 total points
ID: 41848822
no need to create additional bindings since server has only one IP address, you have multiple hostnames which would resolve to single IP address
I don't see any issue as long as both URLs are pointing to same public IP address
If you have added multiple bindings, remove from server
0
Major Incident Management Communications

Major incidents and IT service outages cost companies millions. Often the solution to minimizing damage is automated communication. Find out more in our Major Incident Management Communications infographic.

 

Author Comment

by:gsswho6
ID: 41850117
I can setup forwarding if both domains are on different registrars? Currently both domain resolve the same external IP.... I just created a binding on my 1 website for both domain names and it seems to work... Hopefully that is correct.
0
 

Author Comment

by:gsswho6
ID: 41850121
Also... If i remove the binding nothing works... I add the bindings back and it works fine.
0
 
LVL 30

Expert Comment

by:captain
ID: 41850192
I am not sure why this would not work as long as the primary site is configured correctly, other than DNS propagation issues. Or the name servers for your secondary sites are not those of the registrar for the names.

Standard setup is one host (which can be different from registrar) which hosts the primary site test.com.

DNS configured to point "www.test.com", "*.test.com", and " .test.com" to your hosting server. This will resolve domain requests for test.com  as well as www.test.com to your site.

On the registrar for your secondary domain names these simply need to have the nameserver (NS) of the registrar (do not confuse with DNS) so they can be accessed by public servers.

So the secondary domain test101.com has the Nameservers like for example:
ns1.nameserverofregistrar.com
ns2.nameserverofregistrar.com

and DNS is not configured

Then you set the URL forwarding for your secondary domain names at the secondary domain name registrar account.
http://www.test101.com  >>> http://www.test.com
http://test101.com  >>> http://www.test.com  

all you need to decide is the type of forward and select this.

Your registrar should allow you to make any changes like this on a control panel.

For ease of management I would consider transferring all your domains to one registrar, there may be a small fee and you can only do this if it is not a brand new domain, but check with your registrar or their FAQ of how to do that as it makes life a lot easier.

hth
capt.
0
 

Author Closing Comment

by:gsswho6
ID: 41883847
this worked
0

Featured Post

Learn by Doing. Anytime. Anywhere.

Do you like to learn by doing?
Our labs and exercises give you the chance to do just that: Learn by performing actions on real environments.

Hands-on, scenario-based labs give you experience on real environments provided by us so you don't have to worry about breaking anything.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Because your company can’t afford for you to make SEO mistakes, you’ll want to ensure you’re taking the right steps each and every time you post a new piece of content. This list of optimization do’s and don’ts can help you become an SEO wizard.
Although a lot of people devote their energy toward marketing for specific industries, there are some basic principles that can be applied to any sector imaginable. We’ll look at four steps to take and examine how those steps were put into action fo…
The viewer will learn how to count occurrences of each item in an array.
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

724 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question