• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 194
  • Last Modified:

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.
0
avo42
Asked:
avo42
  • 5
  • 3
1 Solution
 
tatkuuCommented:
"access the localhost form my intrent and any pc within and bock it of"

I'm not sure what you want to do?

Although you have apache running, you can "see" your webpages from any computer (http://IP-ADDRESS/webpage...) only if your router and firewall passes you through. This was not what you were asking?
0
 
avo42Author Commented:
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.
0
 
tatkuuCommented:
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
0
Veeam and MySQL: How to Perform Backup & Recovery

MySQL and the MariaDB variant are among the most used databases in Linux environments, and many critical applications support their data on them. Watch this recorded webinar to find out how Veeam Backup & Replication allows you to get consistent backups of MySQL databases.

 
avo42Author Commented:
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
0
 
tatkuuCommented:
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.
0
 
avo42Author Commented:
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.
0
 
tatkuuCommented:
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
0
 
tatkuuCommented:
Thanks, happy to help!

-tatu
0

Featured Post

Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

  • 5
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now