Setting up an INTRAnet at home

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Jr
Forum Commoner
Posts: 99
Joined: Mon Mar 07, 2005 3:25 pm

Setting up an INTRAnet at home

Post by Jr »

I was just wondering how I would be able to set up an intrAnet at home much the same as you would access LOCALHOST (pretty much). I want to be able to type in MYINTRANET (in IE for example) and have it pop up with the directory network directory (aka index.php) that I choose. I know its a small thing to not have to type in (http://sometihng) but I just want to be able to type in something like MYINTRAET and have it go to a designated directory. I'm not sure if I have to make a special application or something? Maybe just set something up in IIS? I'm really not sure. If someone could help me out I'm sure it's just something pretty simple that I just can't figure out. Anyway, help is always much appriciated.

Thanks Always,
Jr-
User avatar
Weirdan
Moderator
Posts: 5978
Joined: Mon Nov 03, 2003 6:13 pm
Location: Odessa, Ukraine

Post by Weirdan »

either you need to configure local DNS server, or just put the line

Code: Select all

ip_of_webserver myintranet
into the \windows\system32\drivers\etc\hosts file on every computer you want to access your intranet from.

For example, if your webserver uses the ip address 192.168.1.10 it would be:

Code: Select all

192.168.1.10 myintranet
Post Reply