> I have tentatively talked a friend of mine, with lots of spare bandwidth,
> into serving my low-to-medium-traffic web site from his IP as well.
>
> Now, he is a MS kind of person (Windows, IIS) and I am a non-MS one
> (FreeBSD, Linux, Java, . . .) He is also more of a hardware person than I
> am.
>
> He does not want to affect his own IIS server and network or spend much
> time administering it or dealing with it, so I promised him to minimize it
> to nearly no time whatsoever.
>
> He told me he would do it if at the minimum problem he could simply
> "unplug my sh*t" :-)
>
> SO I was thinking about having some king of hardware based switch/router
> simply sniffing all incoming packets on port 80 (probably 443 in the
> future
> for users login only no user's compromising data, he told me) and if they
> look like coming my server's way directed to me, otherwise to his network.
It's not happening. I run my own hosting company and what you want to do is
not feasable.
Here's how tcp works:
client sends SYN packet to start the communication
server sends an ACK to acknowledge the connection
server sends a SYN to sync up the client
client sends data (like http header)
So what are you going to do with that first packet? You've got no clue
which server it wants. But you have to send it somewhere.
An alternative is to run apache on your box and set up his domain as a proxy
(where your apache serves his site by requesting the pages from his server
and sending them down to the client requesting them). The thing is, if your
box breaks his site is down, so that's not going to work for him.
You could do it the other way around, where he proxie serves your site, but
I don't know how to do that in IIS.
Why not just get your own IP off of his connection? Set your box on that IP
and your traffic remains sepparate. If your box goes down it doesn't
interfere with his.
> Also he should also be able to simply take the router off the loop and my
> network down and reconnected the way it was before with 0 configuration
> hassle
if you run your own IP you prob won't need a router.
> What kind of configuration settings are needed in my own ISP's DNS server?
well you'll need to register your domain name, and most registrars allow you
to run your DNS off of them.
> Do you know of any other issues or zero-admin approaches to administering
> a simple server?
There are a lot. Why not pay $5 a month and get a hosting provider to host
your site. We already have all the tools you need to admin your site.
For more info:
www.CSRTechnologies.com