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
Solved

Host 2 sites on one server with 2 IPs

Posted on 2012-03-16
4
226 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

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 walk an individual through configuring a drive on a Windows Server 2008 to perform shadow copies in order to quickly recover deleted files and folders. Click on Start and then select Computer to view the available drives on the se…
This tutorial will show how to configure a single USB drive with a separate folder for each day of the week. This will allow each of the backups to be kept separate preventing the previous day’s backup from being overwritten. The USB drive must be s…

792 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