homepage Welcome to WebmasterWorld Guest from 54.205.236.46
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Pubcon Website
Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / Apache Web Server
Forum Library, Charter, Moderators: Ocean10000 & incrediBILL & phranque

Apache Web Server Forum

    
xampp over network
Scally_Ally




msg:3771046
 11:41 am on Oct 22, 2008 (gmt 0)

Hello,
Wondering if somebody could help me with this please, i have done some searching already but have not come up with an answer.
I have my computer (compA) setup with XAMPP, i access the site on compA using localhost. i would like to be able to access the website from another computer on the network (compB). Now localhost on compB doesnt point to the correct IP address so i assume that i have use a different IP to access the website from compB.

I have shared the htdocs folder (compA) across the network and can access from compB i just cannot get the website to display in a browser. i have gone to /security in the htdocs folder and i have permissions set to anyone across the network can access it.

Thanks for any help.
Ally

 

Scally_Ally




msg:3771064
 12:17 pm on Oct 22, 2008 (gmt 0)

Disregard this thread. I forgot to set my firewall to accept incoming connections from the relevant IP.

Cheers
Ally

jdMorgan




msg:3771089
 1:13 pm on Oct 22, 2008 (gmt 0)

Glad you got it working!

You can use the "hosts" file on your comps to define a domain name for use while testing if you like. Point the domain name on compA (your server) to "localhost" or "127.0.0.1" and point the same domain name on compB (client comp) to the LAN IP address of your server.

The location of the hosts file varies, but the filename is always the same regardless of the OS... Just "hosts" - all-lowercase and no file extension.

Jim

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / Apache Web Server
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About
© Webmaster World 1996-2014 all rights reserved