Saturday, October 24, 2009

How can I set my PC as host to my web site?

I have prepared a web site, front page based, now I want it to publish to web, and I wish to use my own PC as host. Is it possible? How to do that? Will it then be visible to world wide web?



How can I set my PC as host to my web site?





It is possible if you have IIS or a different web server like Apache, but not a good idea for real production sites. It%26#039;s okay though for test purposes.



If you have a dynamic IP account with your ISP, which you probably do, you need to use a dynamic DNS service, like DynDNS.com%26#039;s. They will give you a free subdomain, and a free client that you install on your system which will update the association between your WAN IP and the domain. You%26#039;ll also have to punch a hole in your router or firewall for port 80 so your web server would be accessible to outsiders.



The alternative to dynamic DNS is to run your own DNS server, for which you%26#039;ll need a real server OS, and a static IP account with your ISP. For most people this is really not very economical, since it would be cheaper and easier just to get a web hosting account.



How can I set my PC as host to my web site?



Probably not, at least not without pain.



Many cable/dsl modems block incoming traffic so you can%26#039;t be a server. If you can, they usually block traffic coming in on port 80 (and others) so you can%26#039;t be a %26quot;normal%26quot; web server.



PLUS, they use dhcp so your IP address will change. You do not have a nice name like foo.bar.com that people can surf to.



You can try...



* install a web server (like apache) on port 8080



* find your web ip address (remember, this is subject to change). There are sites that will tell you your address.



* go to an outside computer and browse to your desktop as http://12.15.18.21:8080 (use your address, not 12.15.18.21) and see if you get anything.



* if not, see if you can get to your modem or router %26quot;routing table%26quot; and poke a hole through it for port 8080.



But, again, that dotted quad will potentially change and you do NOT have a published name. There are ways around all this but they%26#039;re not easy.



Other Replys:You need to install a web server package.



I have used Xitami which is free and if you install PHP on top of that it will automatically configure Xitami to use it.



As stated you will need to add a port forward on your router/firewall to allow access on port 80.



Also as stated, if you have a dynamic Ip address assigned by the ISP then using Dynamic DNS service plus software will give you a fixed name.



There is usually no problem doing this for personal use but in general the upload speed to the internet from your PC is slower than the download. This means that anyone viewing your site will have a slower connection as this is the direction most of the data travells in.



But have fun.



Other Replys:yes you can do it and it will be super simple and 100% free!



check this out



http://www.no-ip.com/



you can use any web server even something as simple as the analogx ( http://www.analogx.com ) one, and you do not need a static ip address



Basically the no ip software(which is free) will automatically update your continually changing ip address on their server and they will also give you your own web address.



If you have a router you need to look into port fowarding



if you have any questions feel free to drop me a email



Other Replys:It will be easier to just buy a hosting package.



Plus you need a webhost to have a reliable web page.



http://www.getawebpage.net



That site lists the best (and perhaps least expensive) web hosting companies .

No comments:

Post a Comment

Blog Archive