Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
Hi,
Using latest version of IIS, I have several
web sites hosted on a same machine.
Is that possible to access those web sites through the same port, for ie:
http://intranet:8080
http://yyyy:8080
http://xxx:8080
If yes, how do I do that in IIS, please?Thanks for answering

if they're all being hosted on the same computer, it doesnt make any sense for them to all work. if your ip is... lets say 23.5.12.67 and you're using port 8080 you go
http://23.5.12.67:8080
and then you're hosting it on the same machine and it's on a diff site but it uses the same IP because it's on the same machine, it's not possible.
im sure changing the ports to 8081 for one of the sites and 8082 for the other would solve all of your problems and create none. good luck
FBI Agent
AIM: EliteAssassin187

there's this thing called 'virtual host', to host lots of "domain name" with their own "wwwroot" in the same IP/server. This is what "shared hosting" companies do.
standard IIS on XP Pro can only have 1 hostname, but you might want to take a look here.
That guy said only 1 website can be run at a time, but I've read somewhere that there's another hack to allow IIS' 'virtual host' run "normally".
Normally means like let's say in Apache, it can serve many websites, each with its own name, without the need of 'workarounds' or 'hacks'.
on windows, I prefer IIS. But I never got the urge to run multiple site, so I never tried those hacks. and it sure will broke your agreement with MS I guess :D (this '1 host allowed' thingy is written somewhere in iis/windows agreement)

ah ok, again I misread someone's OS :o
I don't know about win2k if it can and/or may be done.
But 1 thing for sure, running multiple sites on a single ip is make sense, in fact it's normal.

>>it doesnt make any sense for them to all work
Actually, what doesn't make sense is your assumption that every website must have a unique IP address. Consider...
Google currently indexes 8,058,044,651 web pages. The entire IPv4 address space comprises about 4,300,000,000 IP addresses. Assuming only 10% of those pages are unique web sites, that would mean that fully 20% of all IP addresses in the world are each being used by a single website. Now that doesn't make sense - which is why it is not true.

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |