Jump to content

Access Apache Sever from another machine in the network


shan111

Access Apache Sever from another machine in the network  

1 member has voted

  1. 1. Access Apache Sever from another machine in the network

    • Answers
      0
    • I dont undustand what is the meaning of this Options
      1
    • e mail
      0


Recommended Posts

Hi...

I'm ashan and I've created a few web pages using php to access mysql database. The Sever i'm using is apache. from the local machine it works nicely but the problem i have is to access those pages from some other machine in our network.. I think my problem is very clear to you all ... i'm really glad if anyone can help me on this..

Regards,
Ashan...

note: my all web pages are in "htdocs" folder and i want to access the mysql database from all machines in our network through those php pages..
am i made myself clesr to you?? Since i'm pretty new to this dont start with the high note...
Link to comment
Share on other sites

Yea.. I think we have a firewall, but its working.. in my local machine I've set my explora home page to http:/localhost. So when i try http://my_ip_address its goto my home page. So i can access the database using http://localhost/login.php 

but for this to work, i have to give everyone my ip address which i dont wanna do... is there any possible way to change this name?? I mean to access the login.php by either
    1.directy entering http://login.php  or

    2.http://some_name/login.php

Thanks for your help.. I hope you can help me on this as well..

Link to comment
Share on other sites

Hi..

    Thaks for your help. I check that DNS part but its pretty different from the one i'm having in the one explain in that article. I mean when i got to net work services and then to details i cant find a Option to install DNS. SO i have no idea.
Arent there any other way?? i dont care the way its work... best regards,
Ashan,,,

Sorry for the trouble..
Link to comment
Share on other sites

Guys...

  Do any one has idea?? I dont know what to do.. can anyone help me on this?? i dont care the way,,, i tried DNS i cant find that,,, whats windows2003?? i have winXP.. may be this seems so stupid.. but if you can help me thats great.. take care,, Hope to hear from you soon...

Ashan..
Link to comment
Share on other sites

Is this on a local network of pc's??? - if so http://yourcomputername/login.php will work.

If this is on the internet, you need to BUY a domain DNS name. It costs $15 for a .com domain name. Godaddy has some cheap ones -> http://www.godaddy.com/

All you do - is sign up - request your domainname.com, register it, pop in your ip-address, and then www.yourdomain.com/login.php will work.

Note: you cant hide your ip. going "ping www.iwanttoknowyourip.com" will reveal the ip.

-steve
Link to comment
Share on other sites

Thanks...

Yea this is on local network and these are some confidencial datas, my computer name is something like wgpw00506 . .thats the prob.. peple cant keep neither that or my ip address in there mind.. thats the prob.
anyway thats for the help..

Ashan...
Link to comment
Share on other sites

Shan111,

Perhaps the best way would be to actually find the actual network address for your server, mine is http://192.168.0.5/. This link can easily be put into a friendly link.

You can find your ip in windows by Start-->Run-->cmd-->ipconfig

This should (I think) report your IP.

[code]<a href=http://192.168.0.5/>The text you want people to see</a>[/code]

<a href=http://192.168.0.5/>The text you want people to see</a>

Working out internal domains is a bloody nightmare that should only really be attempted my hardcore geeks and wierdos ;-)

If you have a firewall on the [b]machine that your trying to use as a server[/b] make sure that port 80 can accept incoming traffic, This might not be possible with windows firewall. I dont know, haven't played with it.

If your still having probs, msn me andrew_holway at hotmail dot com
Link to comment
Share on other sites

Hello  andrewholway ....

Thanks for your help.. But i didnt get you.  where should i put that code.. may eb you got me wrong... shall i explain my prob to you a bit...

I have a mysql database and apache sever and php sripting to access that... bla bla bla  I want to access the database from through the net work.

So when i want to access that from another computer i have to type in the internet explora  http://my_ip_address/login.php in that computer and it works nicely..

Its really cool to add a code like that but where should i have added that,???  I have no idea... Its a link isnt it?? if not what should  I type in the browser??

The realy problem is to keep this ip address in mind,, and when i try http://mycomputername/login.php Its not working,,,


I'm really new to this... So i hope you'll having hard time wth tis but really appreciate youhelp...

Ashan



Link to comment
Share on other sites

hello  steviewdr,

  Thanks for your help but the thing is when i try http://my_computer_name/login.php its not working. and i cant change my computer name either because we have more than 1000 computers proprely named as a order...  is there anyother way?? thanks Ashan.....

Ashan........... 
Link to comment
Share on other sites

Ashan,

Okay, so from what your saying everything is working correctly. You now need to let everyone know where it is.

What I was suggesting was a html hyperlink. This can be put into any html document. So, for instance If you have an intranet site already up and running you could persuade the administrator of that intranet to put your link on a page that would be accessable by everyone.

Another way would be by email. As long as the email clients(outlook, notes etc) in your office support html you could email
[code]<a href=http://your.i.p.address/login.php>This is a link to ashans amazing database</a>[/code]
and they would see--> <a href=http://your.i.p.address/login.php>This is a link to ashans amazing database</a> <--

The 3rd an simplist option is to email everyone with "http://your.i.p.address/login.php" tell them to cut and paste it into their browser and save it in their favourites/bookmarks.

Whatever happens I guarantee you will get people who do not understand, who will moan, gibber and complain. Users will roam your office, searching you out, baying for accesibility through their home computers and moblie phones. You will start to smoke (more), get ulcers and develop strange sexual tendencies. Welcome to the world of sysop. . . . . :-)
Link to comment
Share on other sites

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.