To find our your computer's name, do this (for Windows PCs):
1. Start -> Right-click "My Computer" -> Properties -> Computer Name
2. Look at the "Full computer name" field.
http://presentable/
To see the web server on my laptop.
Of course, there must be a web server on your PC, and your firewall software (such as Windows XP Personal Firewall) must be set to allow incoming connections on port 80 from other computers on the network. Otherwise, the firewall will stop incoming connections -- that's its job, after all.
If this doesn't work, but you can still access:
http://localhost/
From the same computer that is running the web server, then you probably haven't adjusted your firewall correctly. If you're sure that you adjusted the firewall correctly, it's possible that your router doesn't support DNS. You can work around that by connecting to your PC by IP address instead of by name. You can find out your PC's IP address like this (for Windows PCs):
1. Start -> Run -> Enter cmd.exe and press Enter.
2. At the C:\ prompt, Type ipconfig and press Enter.
3. Your computer's IP address is displayed as part of the output.
4. From another PC on your network, visit:
http://ip address you saw in step 3
You should now see the web server on your PC.
Note: this doesn't make your website public. These steps are intended for those who want to make an "intranet" site for use by other computers on the same local network. See my article how do I host my own website at home? for more information about how to host a publicly accessible website at home.
Legal Note: yes, you may use sample HTML, Javascript, PHP and other code presented above in your own projects. You may not reproduce large portions of the text of the article without our express permission.
Got a LiveJournal account? Keep up with the latest articles in this FAQ by adding our syndicated feed to your friends list!
Follow us on Twitter | Contact Us
Copyright 1994-2012 Boutell.Com, Inc. All Rights Reserved.
