943,931 Members | Top Members by Rank

Ad:
Jul 23rd, 2006
0

Connect to self...

Expand Post »
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.
Similar Threads
Moderator
Featured Poster
Reputation Points: 522
Solved Threads: 64
Veteran Poster
MattEvans is offline Offline
1,091 posts
since Jul 2006
Jul 24th, 2006
0

Re: Connect to self...

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.
Reputation Points: 262
Solved Threads: 68
Veteran Poster
hollystyles is offline Offline
1,181 posts
since Feb 2005
Jul 24th, 2006
0

Re: Connect to self...

thats alot; that (xampp) is exactly what i was looking for.
Moderator
Featured Poster
Reputation Points: 522
Solved Threads: 64
Veteran Poster
MattEvans is offline Offline
1,091 posts
since Jul 2006

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in IT Professionals' Lounge Forum Timeline: I'll Eat My Crow And Like It!
Next Thread in IT Professionals' Lounge Forum Timeline: Beat-Down At The Tech Store





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC