Solved

Host 2 sites on one server with 2 IPs

Posted on 2012-03-16
4
221 Views
Last Modified: 2012-03-16
I have two domain names www.site1.com and www.site2.com. I have one dedicated server with Windows Server 2008R2 on it. Because the first site has SSL it uses an IP for itself, so I purchased a second IP for the second site.
The first IP is used also for nameserver.
I set up the first site over a year ago and it works perfectly. Now I want to add the second site with its IP. I have done the following:
I added the site on IIS and edited bindings on for the second site, as following:
site2.com                  123.123.123.123   80
www.site2.com        123.123.123.123   80
123.123.123.123      123.123.123.123   80
I also added the second IP on advanced IP settings of the servers network card.
On the ISP of the second domain name I 've added the same nameserver as for the first name (actually the 1st IP Address).

Now the problem is that although the first site works fine even if I call it with the domain name or its IP, the second site works only if I call it with its IP. It doesn't work when I call www.site2.com.

Help, help, help!!!!
0
Comment
Question by:Soter13
  • 2
4 Comments
 
LVL 12

Accepted Solution

by:
RobinHuman earned 350 total points
ID: 37728831
0
 
LVL 30

Assisted Solution

by:IanTh
IanTh earned 150 total points
ID: 37728859
well your problem relates to dns

in dns do you have site2 to 123.123.123.123

as its working with ip so its just missing dns and thats probably on your server
0
 

Author Comment

by:Soter13
ID: 37728930
I understand that DNS is my problem, but for some other reason my server is down for the moment, so I cannot check the DNS settings.

When I manage to connect on it, I will let you know.

Thanks!
0
 

Author Comment

by:Soter13
ID: 37729538
It was all in DNS configurations.
Thank you both
0

Featured Post

Do email signature updates give you a headache?

Constantly trying to correctly format email signatures? Spending all of your time at every user’s desk to make updates? Want high-quality HTML signatures on all devices, including on mobiles and Macs? Then, let Exclaimer solve all your email signature problems today!

Join & Write a Comment

I was supporting a handful of Windows 2008 (non-R2) 2 node clusters with shared quorum disks. Some had SQL 2008 installed and some were just a vendor application that we supported. For the purposes of this article it doesn’t really matter which so w…
A safe way to clean winsxs folder from your windows server 2008 R2 editions
This tutorial will give a short introduction and overview of Backup Exec 2012 and how to navigate and perform basic functions. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as conne…
This tutorial will walk an individual through the steps necessary to install and configure the Windows Server Backup Utility. Directly connect an external storage device such as a USB drive, or CD\DVD burner: If the device is a USB drive, ensure i…

760 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now