PDA

View Full Version : Self Hosting


Cuc Tu
03-08-2008, 10:33 AM
First, I know nothing, or just enough to be dangerous...

I installed IIS on XP Pro so I can host my own website.

after this, I go to localhost and received a login/password request.

I don't normally log into my computer at bootup, so I dont know what to enter. Also, in IIS Default Web Site, the directory security is set for anonymous access. Then I changed the home directory local path to point to where I have my site on my HD, but then I get a 404 from localhost. I pointed it back to the wwwroot like it was, but I still get 404 rather than the login request. OK, I can enter my computer's private IP and I do get the default page I'm expecting.

Now, I want to see if anyone outside can see my site. Probably not because I guess I need to configure my router to route port 80 to my machine. I could not figure out how to do that in my router, but I did find "Public Routed Subinterface" This looked like the right setting so I enabled it and set the IP and subnet the same as my local machine.

Now I'm screwed because there is an IP conflict and I can't get back into the router due to the conflict, and Internet is dead. Fortunatley I fixed that with another machine that I could get back into the router.

I'm stuck at this point. I wonder if I need to set the Public Routed Subinterface IP so something new, and then go into ISS and set the Web Site IP to this new IP? That does not sound right either.

There is one other place in the router that I can allow an "Application" in the firewall for a particular machine. One available choices is "Web Server." The other advanced setting that control inbound/outbound traffic offer just Remote Management and NetBIOS toggle for inbound.

The router is a 2Wire combo modem/router. One problem seems to be that when I add a hosted application to the list, it does not actually appear in the list (which is always blank), and my setting reverts to Maximum.

Cuc Tu
03-11-2008, 11:04 AM
I figured out that it was XP firewall, so I added a port exception.

Now I need to learn about security. When I run Shields-up, I get port 80 stealth (whole system is stealth). I don't understand and was expecting to see port 80 open. But people can see my website.