Computing.Net > Forums > Web Development > several web sites via one port??

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

several web sites via one port??

Reply to Message Icon

Name: sonylloyd
Date: July 1, 2005 at 11:05:47 Pacific
OS: Win2000
CPU/Ram: PenIV/2GB
Comment:

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



Sponsored Link
Ads by Google

Response Number 1
Name: FBI Agent
Date: July 1, 2005 at 21:37:14 Pacific
Reply:

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


0

Response Number 2
Name: Laler
Date: July 1, 2005 at 23:20:46 Pacific
Reply:

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'.

sample google search

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)

---
Site of the Day


0

Response Number 3
Name: Laler
Date: July 1, 2005 at 23:24:50 Pacific
Reply:

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.

---
Site of the Day


0

Response Number 4
Name: jimminy
Date: July 3, 2005 at 21:18:52 Pacific
Reply:

>>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.


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

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


Go to Web Development Forum Home


Sponsored links

Ads by Google


Results for: several web sites via one port??

Web site development center ? www.computing.net/answers/webdevel/web-site-development-center-/2129.html

How to make best web site design. www.computing.net/answers/webdevel/how-to-make-best-web-site-design/4248.html

spam & web sites www.computing.net/answers/webdevel/spam-amp-web-sites/306.html