FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


Intranet





jarred89
Hello, I would like to make a home intranet page on our network. I was wondering how to make it if you type "http://intranet" into the browser the intranet page will come up. Thanks
yjwong
Change the host computer name? Then the URL would be http://<computer name>
jarred89
is there away you can set apache to do it?
Nutorious
Isnt the Intranet just for goverment? As my Grandma is a councler or something she has the "intranet" but i thought this was just for goverment use? i didnt realise public could use it or make websites on it?
jarred89
a intranet is a site on the network, people on the web cant access it. Does anyone know how i can set it up?
longjack
If the computer on which the webserver is running was had the host name 'intranet', and the home page of the site you wanted to load was located in your apache's document root, typing http://intranet would load that site.

If you have a small network, adding the web server's ip address in each computer's host file would also work.

For example, if the web server's address was 192.168.1.44, then the host file entry would be:

192.168.1.44 intranet

In this case, also, the easiest set up is to put your site's home page in the document root folder you have set in apache's httpd.conf (or it's apache2 equivalent).

longjack
jarred89
Would i have to install php and mysql?
jarred89
I installed apache and when i type http://intranet into the web browser it comes up with a website that is on the internet.
longjack
jarred89 wrote:
Would i have to install php and mysql?


If the web page you want to write needs it.


jarred89 wrote:
I installed apache and when i type http://intranet into the web browser it comes up with a website that is on the internet.


You will probably have to use a hosts file on the machines you want to connect to your site.

If these are windows machines, open /windows/system32/drivers/etc/hosts with notepad and type the ip address of your apache machine, tab once, then type intranet. For example (if the apache machine is 10.0.0.213):

10.0.0.213 intranet

Save the file.

Now when you type http://intranet in the browser it will go to your apache machine.

longjack
djclue917
jarred89 wrote:
Hello, I would like to make a home intranet page on our network. I was wondering how to make it if you type "http://intranet" into the browser the intranet page will come up. Thanks


What OS are you using? In Windows, when you try to browse http://intranet, it tries to find a computer with the name intranet as long as your network is properly configured. You could use the Networking Wizard in Windows XP to configure the network.

In Linux, all you have to do is to create an alias for the server's IP address. It's like creating a hostname that could be "locally resolved" into the server's IP address.
jarred89
I have windows XP, and i dont want to change the name of the computer on the network to intranet it would look stupid... Do i just do the apache thing and install the domian things as intranet? then when its finished i go http://intranet and it comes up??
djclue917
Actually there is. Windows follows a step-by-step process in hostname resolution.

Host name resolution generally uses the following sequence:

1. The client checks to see if the name queried is its own.
2. The client then searches a local Hosts file, a list of IP address and names stored on the local computer.

NOTE: The Hosts file location depends on the operating system:

Windows 2000/Windows XP - %SystemRoot%\system32\drivers\etc\

3. Domain Name System (DNS) servers are queried.
4. If the name is still not resolved, NetBIOS name resolution sequence is used as a backup. This order can be changed by configuring the NetBIOS node type of the client.

The simplest way to go is #2.

Steps:

NOTE: You should do this to all the clients (that is, all computers except the server)


If your Windows XP installation is in C:, you could locate the "hosts" file in:
C:\WINDOWS\system32\drivers\etc\hosts

1. Edit the hostfile using Notepad or any other text editor.
2. Go to the end of the file and add another entry in the form of: <IP address><space><hostname>
Example: 192.168.0.1 intranet
3. Save the file
You may need to restart Windows for the changes to take effect. I'm not really sure if a restart is required.

* Actually, there is a very straightforward instruction in the hosts file. Read it so you won't get lost.

Hope that helps... Smile
thnn
If you are using a router, some routers allow you to make hostnames resolve to ip's on the network. Check your manual if you are using a router.

Also in apache, you should force apache to listen to the network ip its on so that the intranet is hidden from the outside world.
djclue917
LANs are actually hidden from the Internet (outside world).
A computer from within the network could only be accessed if it has another interface which has a public IP address, or if a router which connects the LAN to the Internet has its port-forwarding capability properly configured to port-forward a certain packet from a certain port in the router (which has an interface with a public IP of course) to another port in another computer in the network.
Related topics
internet explorer
How To : Secure Your PHP Website
SQL Basics
Who actually uses their cPanel Email?!
Help with EVERYTHING
what's a Portal?
How could I host an Intranet on XP Home Edition?
Database Selection for Intranet Portal
what do you recommend for intranet system using java N OODB
Intranet
Moteur de recherche Open-Source pour un Intranet
Intranet messenger!
Choosing PHP web framework for intranet
basic difference between Internet & Intranet
Reply to topic    Frihost Forum Index -> Computers -> Computer Problems and Support

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.