Jump to content

Recommended Posts

as the topic says, how to do that. I have one server with Windows 2003, Apache, MySQL and PHP.

 

I have made a simple php based billing for my cyber cafe and I want to set it up. How to make other computer run that application from the server.

 

My Server IP is 10.19.19.254/billing and while entering that IP in other pc browser does not work .

 

Can I make like this

 

http://billingsystem so that other users can view this site.

 

Any help, suggestions and comments  ;D most welcome....

Link to comment
https://forums.phpfreaks.com/topic/73635-solved-setting-up-server-on-intranet/
Share on other sites

My Server IP is 10.19.19.254/billing

 

Firstly, you'll need to setup your billing application in a seperate vhost instead of making it a subdirectory of your main site. See apache's vhost docs.

 

To make the url http://billingsystem work from the same lan, you either need to setup your own dns server, or simply add....

 

10.19.19.254 http://billingsystem

 

to the hosts file on all the clients. Im not sure where the hosts file is in windows but a quick search will locate it.

 

Of course this wont work if you can't access 10.19.19.254 as it is from the client machines. Are you sure these machines are all on the same lan? What are the ips of some of these client machines?

 

 

Yes everything are in the same LAN

 

@thorpe

See apache's vhost docs.

First I will check that

 

@jcombs_31

yes, as long as you have a DNS server running you can connect with the computer's name

How am I going to find this

 

I got this when i did IPCONFIG

        Host Name . . . . . . . . . . . . : zeropoint-28078df890
        Primary Dns Suffix  . . . . . . . :
        Node Type . . . . . . . . . . . . : Mixed
        IP Routing Enabled. . . . . . . . : No
        WINS Proxy Enabled. . . . . . . . : No
        DNS Suffix Search List. . . . . . : mshome.net

Ethernet adapter Local Area Connection:

        Connection-specific DNS Suffix  . : mshome.net
        Description . . . . . . . . . . . : Realtek RTL8139 Family PCI Fast Ethe
rnet NIC
        Physical Address. . . . . . . . . : 00-A1-B0-A1-D0-09
        Dhcp Enabled. . . . . . . . . . . : Yes
        Autoconfiguration Enabled . . . . : Yes
        IP Address. . . . . . . . . . . . : 192.168.0.13
        Subnet Mask . . . . . . . . . . . : 255.255.255.0
        Default Gateway . . . . . . . . . : 192.168.0.1
        DHCP Server . . . . . . . . . . . : 192.168.0.1
        DNS Servers . . . . . . . . . . . : 192.168.0.1
        Lease Obtained. . . . . . . . . . : Wednesday, October 17, 2007 5:27:57
PM
        Lease Expires . . . . . . . . . . : Wednesday, October 24, 2007 5:27:57
PM

 

 

n~ link=topic=163924.msg718903#msg718903 date=1192621812]

I got this when i did IPCONFIG

        Host Name . . . . . . . . . . . . : zeropoint-28078df890
        Primary Dns Suffix  . . . . . . . :
        Node Type . . . . . . . . . . . . : Mixed
        IP Routing Enabled. . . . . . . . : No
        WINS Proxy Enabled. . . . . . . . : No
        DNS Suffix Search List. . . . . . : mshome.net

Ethernet adapter Local Area Connection:

        Connection-specific DNS Suffix  . : mshome.net
        Description . . . . . . . . . . . : Realtek RTL8139 Family PCI Fast Ethe
rnet NIC
        Physical Address. . . . . . . . . : 00-A1-B0-A1-D0-09
        Dhcp Enabled. . . . . . . . . . . : Yes
        Autoconfiguration Enabled . . . . : Yes
        IP Address. . . . . . . . . . . . : 192.168.0.13
        Subnet Mask . . . . . . . . . . . : 255.255.255.0
        Default Gateway . . . . . . . . . : 192.168.0.1
        DHCP Server . . . . . . . . . . . : 192.168.0.1
        DNS Servers . . . . . . . . . . . : 192.168.0.1
        Lease Obtained. . . . . . . . . . : Wednesday, October 17, 2007 5:27:57
PM
        Lease Expires . . . . . . . . . . : Wednesday, October 24, 2007 5:27:57
PM

 

Your IP address is 192.168.0.13, not 10.19.19.254 - you'll want to try going to http://192.168.0.13.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.