View Full Version : more than one hostied website?
r3plica
6th March 2002, 16:22
can ihost more than one website on one pc.... i notice that with apache u specify where the htdocs are but can u specify 2 or 3 more so u can have a redirection to each of them...if not is there any other way ???
/me thinks he has a solution but requires subdirectories and rediredtion to ip/folder/webby/index.htm
r3plica
piddle spank
6th March 2002, 17:15
not sure about your PC but i can host as many as i want on my mac
Wizzo
6th March 2002, 19:43
You can host multiple websites on one IP using virtual hosts which came in under HTTP 1.1, which most browsers are compliant for. Using apache you use <VirtualHost> directives to outline them. Check out the online documentation for apache for more info... coz I can't be arsed to go into it in full detail now :)
Under IIS you use host header names to give you the same effect.
WhiteKnight
6th March 2002, 19:44
Most webservers (except very basic ones) support a thing called "host headers".
Basically, you setup a no-ip account on your machine and get "*.r3plica.no-ip.com". This is a free sevices i might add.
Then you get your web server to detect the incoming host header and show the appropriate page.
i currently point www.(insert my no-ip domain here) to one page, stats.* to my internet statistics, ups.* to my ups stats page, and mail.* points to my personal webmail server.
easy.
but then i use IIS, and not apache.
r3plica
7th March 2002, 15:18
ok thankyou (it seems that virtual host works) but my next question is
IIS - Integrated Information Systems ? I think
what is the differ between IIS and Apache ??
and which would i benefit more from - click meh site to see more of what i require.
KermitTheFrag
7th March 2002, 15:37
I'd go with apache. Its configuration is harder, but its not integrated into the operating system as deeply and has a better security history. It's also a lot less resource hungry.
They both have similar features, and you can get PHP for both and run a data driven site such as these forums off your web server.
Dizzie
7th March 2002, 15:51
I knew Kermit would have something to add to this :D
r3plica
7th March 2002, 16:15
Any of u lot out there configured Apache to allow php ?
I had it set up once then when i formatted my hdd (see here (http://forums.multiplay.co.uk/showthread.php?threadid=7481) for details) I just can't seem to get php to work properly.
Tech Info: Now i can post and genarally run php (ie my forum still works - but im am setting up a virtual host and i want a guestbook and another forum.... the code has been written and now i want to configure it but i keep getting 'Internal Server Error' (500) .... ps the new virtual host is in the sub dir of meh main site (does that make a differ ??)
thx r3plica
WhiteKnight
7th March 2002, 17:13
Originally posted by r3plica
IIS - Integrated Information Systems ? I think
what is the differ between IIS and Apache ??
IIS = Internet Information Server (or services)
And the main difference is IIS is windows, Apache is *nix.
As far as i`m aware they arent any more secure than one another in reality.
IIS does require more patches to be added. But apache is open source is it not ? and i`m sure this makes it more vulnerable.
Anyway.. i`m a windows person, and probably always will be :( so IIS is really my only option.
r3plica
7th March 2002, 17:32
from the looks of things u havent been to the apache site recently as i too am a windows person and i use apache and it works for windows users....if IIS isnt not free then i think i will stick to the Apache server....any way back to my question, has ne one got any ideas??? also that i can view my site on meh lan but not from antoher pc on the net ?? thought it may have something to do with host name (which is http://icenians.homeftp.net) should i change it to the ip address bearing in mind that it is dynamic....
thx r3plica
vBulletin® v3.7.1, Copyright ©2000-2008, Jelsoft Enterprises Ltd.