Can several domains use the same IP?

  • Thread starter Thread starter Amanda Rodriguez
  • Start date Start date
A

Amanda Rodriguez

I would like to know if it is possible to have multiple (different) domains
sharing a single IP address on a Windows 2000 server?

Thank you.
 
Amanda Rodriguez said:
I would like to know if it is possible to have multiple (different) domains
sharing a single IP address on a Windows 2000 server?

First, off, only one DOMAIN is supported on each DC,
and each regulary machine can only be a member of a single
domain if you mean AD domains.

There is really no sense in which AD domains even have an
IP address; each DC or member machine has the address(es.)

In fact, as commonly use, DNS domains don't have one either;
if we mean "zone or company names" when we say "DNS
domain."

What are you REALLY trying to accomplish? Maybe we can
help with that....
 
In
Amanda Rodriguez said:
I would like to know if it is possible to have multiple (different)
domains sharing a single IP address on a Windows 2000 server?

Thank you.

Are you asking about websites?
Yes, use host headers.
 
I would like to know if it is possible to have multiple (different) domains
sharing a single IP address on a Windows 2000 server?

The answer is yes. But you'll want to tell us what you're doing so we
can give suggestions on how to accomplish your goals.

Jeff
 
All of this technical jargon is confusing, but I thank you and everyone who
has responded.

Currently, I am leasing a web server and have 12 IP addresses. Each IP
handles a different registered domain name.

For example, one of my registered domain names is:
www.AmorPostales.com

a second one is:
www.RomanticLoveSecrets.com

Like I said, each domain name is consuming it's own unique IP and I wish to
share a single IP so that multiple registered domain names can be assigned
to them.

On a different forum, someone suggested using host headers from the New Site
Wizzard. I always thought that host headers were like this:
www.products.AmorPostales.com or www.whatever.AmorPostales.com.

Are host headers my solution to assigning multiple registered domains to one
IP?

Thanks!
 
Kevin,

Thanks for the response. I do mean websites. I've been calling them
domains because I register each name at directNic and I think that they
refer to them as domains.

Hopefully like you say, my solution to sharing IPs will be the use of host
headers.
 
I am glad to hear that the anwer is Yes. My provider had become hesistant
in giving me more IPs since I already have been assigned a number of them.

I will be looking into host headers as my solution on Windows 2000 Server.

Kindest regards,

mandy
 
For example, one of my registered domain names is:
www.AmorPostales.com

a second one is:
www.RomanticLoveSecrets.com

Like I said, each domain name is consuming it's own unique IP and I wish to
share a single IP so that multiple registered domain names can be assigned
to them.

You may certainly do that -- and I probably should have guessed
this was you intent. Sorry, usually I am much better guesser than
that.

You use "Host Headers" to allow on physical server with one IP
to handle requests for DIFFERENT machine or domain names,
e.g., www.AmorPostales.com and www.RomanticLove.com
(much better than our usual sample.com names too.)

You could also use different "ports" but even though that is a
technically viable choice it has it's own problems.

You create each A(host) record in DNS pointing to the same
IP and that is all there is to do in DNS.

The issue is really a WEB SERVER issue since when the requests
get to the web server you must "distinguish" requests intended for
one of the sites on that IP.

In IIS, the MS web server, and other web servers (Apache etc.)
this is quite easy and usually effective.

Just create the "sites" (aka "virtual servers") and assign each one
a different CONTENT directory path along with a different
HOST HEADER (that DNS name above.)
 
Kevin's answer was correct. It is mostly done on the
WEB server.

The DNS server only sets the multiple A records (host records.)
 
If you already have multiple IPs on the one machine, you
can use some of them for ONE web site, and others for
multiple web sites.

Are you using IIS (MS web server)?

BTW, only Windows Server (not pro/XP) supports multiple
sites on one machine.
 
In
Amanda Rodriguez said:
Kevin,

Thanks for the response. I do mean websites. I've been calling them
domains because I register each name at directNic and I think that
they refer to them as domains.

Hopefully like you say, my solution to sharing IPs will be the use of
host headers.
You can have an almost unlimited number of websites on a single IP address,
unless SSL is used, each site using SSL must have its own IP address. With
12 IP addresses you can have in addtion to the unlimited host header sites,
12 secure sites. As long as all sites have a host header and no site can be
accessed by its IP address without a secure connection. I. E.
https://ipaddress/ not http://ipaddress/
 
Herb,

It is a dedicated Windows 2000 Server from superB web hosting that I connect
to using Remote Desktop Connection. Webserver has IIS installed but it does
not specify the version.

I went to IIS and chose to "New", then "Web Site".

It asks for IP, I enter existing IP from another site of mine.

I leave port 80 default.

This is where I am unsure, for host header, I enter my new registered domain
name. For example, microsoft.com :)

Is this correct/incorrect?

Thanks again for your assistance!
 
No SSL being used but I will keep that in mind for any possible sites that
require it. Thanks again.
 
It asks for IP, I enter existing IP from another site of mine.
I leave port 80 default.

This is where I am unsure, for host header, I enter my new registered domain
name. For example, microsoft.com :)

Normally you would enter the www or the server name but
if you have a "domain" alias that allows this name to resovle
(that's in DNS) you can do this too.

You must also go to the OTHER site (the one that was also
using the same IP) and give it the OTHER host header it uses.

You can give multiple headers to each "site", e.g.,
www.learnquick.com AND learnquick.com versus
www.othersite.com and othersite.com
 
It is a dedicated Windows 2000 Server from superB web hosting that I connect
to using Remote Desktop Connection. Webserver has IIS installed but it does
not specify the version.

It's IIS 5.0. That's what is in W2K Server.
I went to IIS and chose to "New", then "Web Site".

It asks for IP, I enter existing IP from another site of mine.

I leave port 80 default.

This is where I am unsure, for host header, I enter my new registered domain
name. For example, microsoft.com :)

Is this correct/incorrect?

You want:

DNS Basics for IIS Administrators:
http://www.iisanswers.com/articles/dns_for_iis.htm
How to Create Multiple Websites with one IP address:
http://www.iisanswers.com/Top10FAQ/t10-hostheaders.htm

Note that using SSL requires a dedicated IP.

Jeff
 
Back
Top