Link to home
Start Free TrialLog in
Avatar of avo42
avo42

asked on

apache help!

Hi all

Can any one please help me out i have just installed apache and all is working fine .
but what i would like to do is be able to access the localhost form my intrent and any pc within and bock it of from the outside world

how wolud i set this up ?
what config file do i need to change?
is it possible ?

thanks in advance.
ASKER CERTIFIED SOLUTION
Avatar of tatkuu
tatkuu

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of avo42
avo42

ASKER

Hi Thanks

The ip address may be different everytime the host pc is switched on .
would like to find a way without fixing the ips of the pc so i know what it would be everytime
but would still alow me to view the pages on the intranet

thanks

hope this makes sense.
Hello!

Ip-addresses are usually dynamic, but you probably can buy the solid address from your operator. I'm not sure how often and how IP changes. I have from time to time kept my computer on for a long time and IP has not changed that time (couple of weeks). If you are for example creating a public web-application to your own www-server, you need a solid address.

-tatu
Avatar of avo42

ASKER

Hi Thanks

i would just like to use this apache as an internal server to host some php i have create for a database but would like all pc,s to acsses this information just need a solid way for other isers to view the pages but not the outside world

thanks in advance
So you have local-area network. I think one solution is NAT.
http://en.wikipedia.org/wiki/Network_address_translation

Every computer in your LAN has it's own IP which has nothing to do with public IP-addresses.
Avatar of avo42

ASKER

Hi Thanks

I have sorted my problam out thanks

but one more thing please is there a way that i can assign an internaly routed ip address into an name

just like you would on the internet .


so in my intanet if for example someone types http://somename. this will then point to 192.168.0.13 (virtual ip)

thanks in advance.
Hi!

For that I think you need your own DNS server. I don't know if there are any free of charge. I'm not so familiar with this DNS-matter. I don't have such own. If you don't get any wiser advise, try with Google. If you find a good solution, tell me too! :)

Hope there have been any help from these!

-tatu
Thanks, happy to help!

-tatu