Bookmarks

Yahoo Gmail Google Facebook Delicious Twitter Reddit Stumpleupon Myspace Digg

Search queries

w2ksp4.exe, WwwxxXdbf, procmail "FROM_MAILER" patch, Use of assignment to $[ is deprecated at /usr/local/sbin/apxs line 86. , wwwxxx vim, mysql closing table and opening table, 800c5000, setgid operation not permitted, pciehp: acpi_pciehprm on IBM, WWWXXX.DBF

Links

XODOX
Impressum

#1: Same port

Posted on 2008-01-17 23:41:20 by John

I have two websites I am trying to host. I go to IIS manager>
Websites> New website, and try to browse to the path and select the
directory. I assign port 80 to both, however on the second one it
tells me "the port is already used by another site. Please use an
unused port."
My question , are't all sites using port 80 and if thats not the case
and I use another port, can it be seen by all on the internet?

Would appreciate your input.

Report this message

#2: Re: Same port

Posted on 2008-01-18 19:19:00 by Rick Barber

Hi John,

The default port for a website is port 80. And you can only have one set of
unique bindings on a server, so if both sites are using 'all unassigned' for
the IP address, port 80, and <blank> for the host headers then you will get
the error that you see. You will need to make each of the sites unique, so
they either need to use a different IP address, a different port number, or
host headers. If site #1 is domainA.com, and site #2 is domainB.com, you
can use the same port 80, and the same IP address, just add www.domainA.com
and domainA.com as host headers for site#1, and www.domainB.com and
domainB.com as host headers for site#2.

--
Rick Barber

http://www.orcsweb.com
Managed Complex Hosting
#1 in Service and Support

"john" <johnbahran@hotmail.com> wrote in message
news:5bf934fa-a6bf-4ef5-aa2f-21fe4e644eb8@i12g2000prf.google groups.com...
>I have two websites I am trying to host. I go to IIS manager>
> Websites> New website, and try to browse to the path and select the
> directory. I assign port 80 to both, however on the second one it
> tells me "the port is already used by another site. Please use an
> unused port."
> My question , are't all sites using port 80 and if thats not the case
> and I use another port, can it be seen by all on the internet?
>
> Would appreciate your input.

Report this message

#3: Re: Same port

Posted on 2008-01-18 21:44:01 by Kristofer Gafvert

Hi John,

You cannot have multiple websites using the same port, ip address and host
header. Something of it must be unique, so the usual approach is to use host
headers to host multiple websites.

You can read more about this in the following article:

"Using Host Headers to host multiple websites on IIS 6.0"
http://www.gafvert.info/iis/article/iis_multiple_websites.ht m

--
Regards,
Kristofer Gafvert
http://www.gafvert.info/iis/ - IIS Related Info


"john" <johnbahran@hotmail.com> skrev i meddelandet
news:5bf934fa-a6bf-4ef5-aa2f-21fe4e644eb8@i12g2000prf.google groups.com...
>I have two websites I am trying to host. I go to IIS manager>
> Websites> New website, and try to browse to the path and select the
> directory. I assign port 80 to both, however on the second one it
> tells me "the port is already used by another site. Please use an
> unused port."
> My question , are't all sites using port 80 and if thats not the case
> and I use another port, can it be seen by all on the internet?
>
> Would appreciate your input.

Report this message

#4: Re: Same port

Posted on 2008-03-31 17:49:01 by Kristofer Gafvert

So the domain name resolves?

Do you have a firewall blocking port 80?

--
Regards,
Kristofer Gafvert
http://www.gafvert.info/iis/ - IIS Related Info


"william" <william@discussions.microsoft.com> skrev i meddelandet
news:9D0E894D-8084-4A16-B4B8-DE59CCFE299D@microsoft.com...
> Hi Kristofer,
>
> I've configured my web application as web site by using port 80, and use
> myapp.company.com as host header. I configured this in hosts file on IIS
> server machine(windows 2003). I am able to browse my web site by
> http://myapp.company.com/. Then I put entry in my hosts file on my local.
> assuming the IIS server machine name is IISServer, in my hosts file, the
> config looks like IISServer myapp.company.com. When I tried to browse the
> web
> site by http://myapp.company.com/, I got "DNS lookup failed" error. I
> could
> ping IISServer from command line.
> Any idea?
>
> Thanks.
>
> William
>
> "Kristofer Gafvert" wrote:
>
>> Hi John,
>>
>> You cannot have multiple websites using the same port, ip address and
>> host
>> header. Something of it must be unique, so the usual approach is to use
>> host
>> headers to host multiple websites.
>>
>> You can read more about this in the following article:
>>
>> "Using Host Headers to host multiple websites on IIS 6.0"
>> http://www.gafvert.info/iis/article/iis_multiple_websites.ht m
>>
>> --
>> Regards,
>> Kristofer Gafvert
>> http://www.gafvert.info/iis/ - IIS Related Info
>>
>>
>> "john" <johnbahran@hotmail.com> skrev i meddelandet
>> news:5bf934fa-a6bf-4ef5-aa2f-21fe4e644eb8@i12g2000prf.google groups.com...
>> >I have two websites I am trying to host. I go to IIS manager>
>> > Websites> New website, and try to browse to the path and select the
>> > directory. I assign port 80 to both, however on the second one it
>> > tells me "the port is already used by another site. Please use an
>> > unused port."
>> > My question , are't all sites using port 80 and if thats not the case
>> > and I use another port, can it be seen by all on the internet?
>> >
>> > Would appreciate your input.
>>
>>

Report this message