Welcome Guest. Please Login or Register  


You are here: Index > AMPPS > General Support > Topic : sorted out some issues, now need more help



Threaded Mode | Print  

 sorted out some issues, now need more help, domain works fine on server, cant access from lan (4 Replies, Read 2247 times)
mhess5
Group: Member
Post Group: Newbie
Posts: 10
Status:
I am trying to set ampps up on a local lan with no internet service.
I installed ampps and at first could only get it to work with ip number
domains, then I figured out how to take ownership of the hosts file and
got named domains (testing1.com) to work and display on the server.
Thought
I had it solved.
But now if I enter an Ip domain (192.168.2.6) it works
fine from other computers on the lan as long as the static ip of the server (192.168.2.6) is set to the same as the number domain, but if I enter one of the named
domain (testing1.com) it does not come up. I get "server stopped
responding" without loading the site.
Do I need to set a static ip on the server?  Does the dns on the router need a specific setting?
Any help would be appreciated. I am self taught, so I am kind of weak in some areas here.
Thanks
IP: --   

sorted out some issues, now need more help
tidus
Group: Member
Post Group: Super Member
Posts: 1121
Status:
Hi,

What is the output of the following in the client machine
Code
ping testing1.com


If it doesn't resolve to the IP 192.168.2.6 then add an entry in the client sides hosts file. Add
Code
192.168.2.6    testing1.com


And yes, the server needs the static ip.

Edited by tidus : December 29, 2012, 7:32 am

-----------------------
Follow AMPPS on,
Twitter : https://twitter.com/AMPPS_Stack
Facebook :  http://www.facebook.com/softaculousampps
Google+ : https://plus.google.com/+AmppsStack
IP: --   

sorted out some issues, now need more help
mhess5
Group: Member
Post Group: Newbie
Posts: 10
Status:
Ok, just so I understand, I must go to the client machines and add an entry into its host file?  What if mobile devices want to join the network?
Thanks
IP: --   

sorted out some issues, now need more help
tidus
Group: Member
Post Group: Super Member
Posts: 1121
Status:
Hi,

Yes add an entry to the hosts file of client side.

Don't have much idea about mobiles, but android has /system/etc/hosts file which can edited through root privileges.

Edited by tidus : December 30, 2012, 4:37 am

-----------------------
Follow AMPPS on,
Twitter : https://twitter.com/AMPPS_Stack
Facebook :  http://www.facebook.com/softaculousampps
Google+ : https://plus.google.com/+AmppsStack
IP: --   

sorted out some issues, now need more help
mhess5
Group: Member
Post Group: Newbie
Posts: 10
Status:
Finally ended up using the free dnsmasq on my router. Had to do some research to setup, but Works fine now. Simpledns worked great also, and much easier to set up but only had free 14 day trial
IP: --   

« Previous    Next »

Threaded Mode | Print  



Jump To :


Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is April 27, 2024, 9:42 pm.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 11  |  Page Created In:0.033