Connect to self...

Reply

Join Date: Jul 2006
Posts: 1,091
Reputation: MattEvans is a jewel in the rough MattEvans is a jewel in the rough MattEvans is a jewel in the rough 
Solved Threads: 63
Moderator
Featured Poster
MattEvans's Avatar
MattEvans MattEvans is offline Offline
Veteran Poster

Connect to self...

 
0
  #1
Jul 23rd, 2006
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.
Plato forgot the nullahedron..
Reply With Quote Quick reply to this message  
Join Date: Feb 2005
Posts: 1,181
Reputation: hollystyles will become famous soon enough hollystyles will become famous soon enough 
Solved Threads: 67
hollystyles's Avatar
hollystyles hollystyles is offline Offline
Veteran Poster

Re: Connect to self...

 
0
  #2
Jul 24th, 2006
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.
Last edited by hollystyles; Jul 24th, 2006 at 11:24 am.
==========================================
Yadda yadda yadda...
Web junky, fevered monkey
Reply With Quote Quick reply to this message  
Join Date: Jul 2006
Posts: 1,091
Reputation: MattEvans is a jewel in the rough MattEvans is a jewel in the rough MattEvans is a jewel in the rough 
Solved Threads: 63
Moderator
Featured Poster
MattEvans's Avatar
MattEvans MattEvans is offline Offline
Veteran Poster

Re: Connect to self...

 
0
  #3
Jul 24th, 2006
thats alot; that (xampp) is exactly what i was looking for.
Plato forgot the nullahedron..
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the IT Professionals' Lounge Forum
Thread Tools Search this Thread



Tag cloud for IT Professionals' Lounge
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC