Hosting a website on ur own PC?

I have a BSNL broadband Unlimited connection and using the WiFi modem of BSNL. Configured the DynDNS account on it and able to access my apps like uTorrent from outside network with that domain name so its all working fine.

As running Vista x64 SP2, so have IIS7 installed and enabled and when refer to localhost link, it works too. Now I want to know a few things.

  1. I tried to forward port 80 but the message was displayed that it is being used so port 80 request will go to port 8080. Will the requests made from outside network towards port 80 through my domain name, will it work?
  2. Can I use the default IIS page for my purpose? I mean if I replace the iisstart.html page with my index.html, will it work?

These r the few issues at hand, more queries if more things go down south. :ashamed:
 
^^No Ideas,anybody?

The first and foremost problem I'm facing is that, the Router is running micro httpd and uses port 80 so forwarding it leads to requests being sent to port 8080.

Now the port is 8080 hasn't been explicitly forwarded but its the alternative listening port for my laptop's uTorrent and I'm able to access the WebUI through the port 8080 both locally and from outside network.

Now since a query request for port 80 or 8080 doesn't leads to proper response, can anyone tell me the way to change the port for IIS so that it starts taking requests on a different port. Basic thing is to first get atleast the IIS page being displayed when the domain name is entered.
 
^ You can change port on IIS thru following steps:

Open IIS services, go to "Default Website". Right click on it and select tab "Web Site". Then change TCP Port to your intended port.
 
The reason I want to host the site on my desktop coz I want to execute a remote shutdown command using server side scripting in my web page. For that I have found the answer to my first post, a simple HTML page won't do, its gotta be an ASP page. Will handle the programing part l8r, fist just need to get the Web Server running & accessible. This all needs to be done instead of a Remote Access so as to extend its functionality over mobile platform too. In short, I wanna shutdown my system remotely using just my mobile phone(E51) via GPRS.
 
Aye! kareena, gal karee na, koi ni, I do have Apache installed along with my Netbeans 6.7.1, will tinker with it if IIS option becomes hopeless.

I noticed something, the DynDNS name is assigned to my router so any request made to that name first goes there. Is there anyway to create a DNS server on my Vista so that I can create a sub-domain like Home for my domain so that the new domain address for the desktop becomes something like this, http://home.bumpyshah.game-host.org Is this possible? I tried to change the bindings for the Default website from the IIS manager. Changed the port to 187 and forwarded it, even mentioned the domain name there but still didn't work. :( No matter what IP do I give in Site bindings, if the port is 80, the DSL Router's config page opens up.
 
First step that you need to do is, to free port 80 which is default HTTP port.everything will come after that. you need to forward webserver port, my Dlink router does have a option in which one can forward webserver port, and instead of Router Configration page, it would show the contents of site root.

same function might be there for your router as well, but maybe a different name.

What router you have?
 
http://www.techenclave.com/networking/using-bsnl-dsl-to-share-resource-147692.html#post1266831

something similar to this...
in iis 7.0 you can use port binding to site...
start-->run-->inetmgr---> add a website / default website---> right handpane named "actions" select binding and give binding to your domain name (website name) ---> then you do not have to give port number =>automatically it will select you site
now forward port say 9091 from router to pc .... you are set to host your own website... better you can host multiple site---> install fast cgi configure php, mysql, install joomla, vb forums, wiki, wordpress everything you get you own portal service.. need help with PHP on IIS 7.0 post here or refer iis.net...

I was doing similar thing including secure FTP download on office VPN... until ISD and Networking department got pissed and wrote a written complaint to my Super Boss......:(
Man i sure can Piss people off...:rofl:

regards
SauravR
 
I have BSNL's UTStarcom WA3002G4 modem. Creating a WebServer from its NAT page or manually forwarding the 80 port, both leads to same message. "Port 80 is in use and requests for port 80 will be forwarded to 8080" How can I free up the port 80 there?

@ Saurav, thanks buddy but for File Sharing, I use HFS, which is a lot better and easier than Window's own service. As for the forwarding part, I did changed the port of my default website to 187,forward it, restart the IIS server and tried to browse it but still nothing happened.

Will post some pics in my next post, maybe they can be of any help to u folks.
 
Ryunosuke said:
I have BSNL's UTStarcom WA3002G4 modem. Creating a WebServer from its NAT page or manually forwarding the 80 port, both leads to same message. "Port 80 is in use and requests for port 80 will be forwarded to 8080" How can I free up the port 80 there?
@ Saurav, thanks buddy but for File Sharing, I use HFS, which is a lot better and easier than Window's own service. As for the forwarding part, I did changed the port of my default website to 187,forward it, restart the IIS server and tried to browse it but still nothing happened.
Will post some pics in my next post, maybe they can be of any help to u folks.

i did have some stuff to add before i pressed enter by mistake do not forward port 80 else you will not be able to browse websites as port 80 is reserved for router and if you manage to forward it to you pc then all websites will try to find through your own webserver...

you are missing the point the procedure is same if you donot wish to host website you can allow directory browsing gr8 for sharing movies on office vpn
 
SauravR said:
something similar to this...

in iis 7.0 you can use port binding to site...

start-->run-->inetmgr---> add a website / default website---> right handpane named "actions" select binding and give binding to your domain name (website name) ---> then you do not have to give port number =>automatically it will select you site

When u say "Give bindings to your domain name" what domain name will that be, the DynDNS one or can I make something like home.bumpyshah.game-host.org ?

Secondly you also say here that u don't have to give port number, it will automatically select your site, does it implies no explicit port forwarding, no messing with port 80? Please clarify it a bit more. :ashamed:
 
On your router do port forwarding for the port # 80 got through all the pages of your router there should be an option to change the router port, or if you want you can even set the IP of your machine in the DMZ Zone, which indirectly forwards all the ports to the specified IP. I have hosted many sites on my own HTTP, FTP servers with DynDns for years, now using static IP as its cheap and have advantages.
 
6pack said:
is there a default.htm file in your iis virtual directory folder?
btw hope you forwarded port 187 in your router.
under the inetpub/wwwroot, just for testing purposes I've renamed iisstart to index.html :ashamed: as first I just wanna get it up and running, will post the actual site there l8r. Today in the afternoon I'll post pics too. Can't do it right now as Diwali cleaning going on in the house. :P
OK here's the setup with screenshots. One thing lemme tell u all in advance, today while looking through router config I noticed that service like FTP,HTTP,TELNET and TFTP were not active on my WAN interface so I activated them too.

Some screenshots may look same as a thumbnail but do look 'em as they are cause the address matters and tells the whole story.














Please see all the images and see what I have tried to do. First I tried to run the site as it is, it turned out to be brows-able locally but not thru binding. When I bind it to the DynDNS name, it always opened the Router page. I looked everywhere in the router but there's no option to change the default port. After changing the port to 1987, it was again brows-able locally but not from outside network. As u can see in one of the screenshot, it clearly shows that even i after forwarding the port, rebooting the modem the said port, 1987, still turns out to be closed. :@ WTF IS WRONG HERE? :@
 
Have you made an exception for the port 1987 in your windows 2008 firewall, would suggest you check the same...

Also can you go in the advance setting option, you should see something like DMZ etc, can you upload an snapshot of the same....
 
andrew327 said:
Have you made an exception for the port 1987 in your windows 2008 firewall, would suggest you check the same...

Also can you go in the advance setting option, you should see something like DMZ etc, can you upload an snapshot of the same....

I didn't created Firewall exceptions but after ur post, did it. Check the screen shot and tell me if I did it correctly or not. If its not visible then lemme tell u that I made the exception under Web Management Service.

I didn't made my desktop a DMZ host 'cause of the security issues associated with it. Do I really have to make it a DMZ host in order to get the site working? I was going according to this procedure and there nothing was said about a DMZ host. :S



 
When you're testing your domain name, are you trying to access the page from the same network? What I mean is, are you testing whether your web server works from the same computer as you are hosting or from another computer on the same network?

Not all routers have NAT loopback enabled. What this means is that the only sure-fire way of knowing if you've succeeded at being visible to the outside world is using a different connection to access the web host unless you actually know that 'NAT loopback' is enabled. If it is disabled, then the router will not translate requests from inside the network.

Also, does Windows PowerShell allow you to login remotely to a machine in conjunction with something else? If it does, then that might be a better option.
 
all the domain name testing has been done from outside network! Come on guys I ain't a total noob here, I Know something about n/w that's y I'm messin wid it at the first place.

As for remote connections, read my earlier post, I want to shutdown the system over GPRS using my phone only.
 
Back
Top