| | |
Connect to self...
![]() |
Is it possible to make my computer both a server and a client in a LAN? Some of the projects I'm working on are internet based, and opening pages and scripts from disk doesn't have quite the same results as accessing it from a network; biggest difference is with Flash objects with javascript interfaces, they just don't work unless the page is online.
So, would it be possible (by any means), to open my computer, type some kind of path, and open up a page on my pc as if the folder it was in was a website; or even create pretend "domains" on my hard-disk? The protocols I'd like to simulate are HTTP and FTP.
Reason is, my internet connection isn't the most reliable; it takes a while to wait for a working window, and that may be the only time I can bugtest, also, I can end up in places without Internet and only my laptop, and have to sideline certain projects.
So, would it be possible (by any means), to open my computer, type some kind of path, and open up a page on my pc as if the folder it was in was a website; or even create pretend "domains" on my hard-disk? The protocols I'd like to simulate are HTTP and FTP.
Reason is, my internet connection isn't the most reliable; it takes a while to wait for a working window, and that may be the only time I can bugtest, also, I can end up in places without Internet and only my laptop, and have to sideline certain projects.
Plato forgot the nullahedron..
Yes any PC can be Client AND Server.
Sounds like you want a web server on your pc, depending on your setup you have several choices.
If you are running WindowsXP home I can recommend xampp it installs Apache 2 for windows and is very easy to use.
If you have Windows XP Professional you can use IIS, in Control Panel go to Add/Remove programs and clcik the Windows Components button, choose to install IIS (you may need your XP CD handy as windows will probably ask for the disk)
Either way once you have chosen and installed a web server you will have;
For IIS a directory C:\inetpub\wwwroot
for Apache (depending on instal) something like C:\program Files\xampp\htdocs
Stick your web folder in one of these directories and you should be able to browse it from:
http://localhost/webfoldername
where webfolder name is the name of your folder containing all your web pages. Or if you don;t want to move your web pages, in Administrative Tools on windows (if you went the IIS route) you can use IIS Administrative Console to create a Virtual Directory and point that at your folder containing your pages.
Sounds like you want a web server on your pc, depending on your setup you have several choices.
If you are running WindowsXP home I can recommend xampp it installs Apache 2 for windows and is very easy to use.
If you have Windows XP Professional you can use IIS, in Control Panel go to Add/Remove programs and clcik the Windows Components button, choose to install IIS (you may need your XP CD handy as windows will probably ask for the disk)
Either way once you have chosen and installed a web server you will have;
For IIS a directory C:\inetpub\wwwroot
for Apache (depending on instal) something like C:\program Files\xampp\htdocs
Stick your web folder in one of these directories and you should be able to browse it from:
http://localhost/webfoldername
where webfolder name is the name of your folder containing all your web pages. Or if you don;t want to move your web pages, in Administrative Tools on windows (if you went the IIS route) you can use IIS Administrative Console to create a Virtual Directory and point that at your folder containing your pages.
Last edited by hollystyles; Jul 24th, 2006 at 11:24 am.
![]() |
Similar Threads
- VB: Connect to Access database via ODBC datasource name (Visual Basic 4 / 5 / 6)
- connect to text file database (Visual Basic 4 / 5 / 6)
- Cannot Connect to, Linksys' Web Based Utility, I need help (Networking Hardware Configuration)
- connect to password protected access db (Visual Basic 4 / 5 / 6)
- Can't connect to internet (Networking Hardware Configuration)
Other Threads in the IT Professionals' Lounge Forum
- Previous Thread: Working in SAP
- Next Thread: What OS?
| Thread Tools | Search this Thread |
Tag cloud for IT Professionals' Lounge
1gbit advertising advice amazon answers archive broadband business businessprocesses career carrier censorship cern china cio collectiveintelligence connectivity consumer corporateearnings datatransfer debtcollectors dictionary digg digital ebay ecommerce email employment environment facebook food government grid high-definition hottub infodelivery infotech intel internet interview ipod isp japan kindle lhc library malware marketing mit moonfruit news php piracy piratebay pope porn program questions r&d religion remoteworking research retail schools security sex shopping simple skype smallbusiness smb sms socialmedia socialnetworking software softwareengineer spam speed spending startrek statistics stocks study stumbleupon survey tabletpc technology touch-screen touchscreen training twitter uk vbulletin videoinprint voips web webdesign webdeveloper windows words






