Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Intranet Setup

Status
Not open for further replies.

mapman04

IS-IT--Management
Mar 28, 2002
158
US
Please excuse my ignorance. I'm trying to create an Intranet for internal use only. I want to install it on a Win2K Pro box. I have a test site complete and want to be able to reach the site by typing in intranet in the web browser. The Win2K PC has a static address but the PC name is not the name of the web site. When I try to open it, my browser say's it can't find the site. What do I have to do to make have it resolve properly? I do not have an internal DNS server. All of my servers are Win NT 4.0 boxes. Is there a DHCP entry that I have to make? A WINS configuration change? Is there a how-to somewhere on how to do this?

Thanks in advance,

mapman04
 
This could be a myriad of different things - I'm going to assume you're using the Win2KPro box.

Is IIS installed on the Win2KPro box? Check by going to your browser on that box and type ... anything come up? If it does good. If nothing comes up that could mean either you don't have IIS installed, or there's a service related to it that hasn't started. Most likely it's because you don't have it installed. To install it, go to Start > Control Panel > Add/Remove Programs > Add/Remove Windows Components. Find IIS - is there a checkmark beside it? If not, put one there and click ok. Be prepared to have the Win2KPro CD handy.

You now have to point the default IIS site on that box to the directory where you've got your web site code. That's done by clicking Start > Programs > Administrative Tools > IIS. Once you're there, right-click default web site, click properties, click the Home Directory tab, and change to where you've stored your web site files.

Make sure it doesn't say (Stopped) after the Default Web. If it does then right-click it again and click Start. Once you've done all that, go to IE and do the again. What do you get?

Make sure your main page on the web site you just pointed to is called DEFAULT.HTM (no L). Now give it a try.

Should be it.
 
Yes, the PC is Win2K Pro. When I open IE, I get HTTP 404 - File not found. I think it's a DNS issue. As I cannot browse any site. Before I gave it a static IP, I could browse the web. I verified that IIS is installed and running. If I let it get a DHCP address, is it possible to allow users to hit it by typing the intranet name? Don't know a whole lot about IIS and web development.

Thanks,

mapman04
 
I have a related question regarding this. I am also considering creating an intranet. I got a test page up and running but my question is accessing it. If I type I can access it without a problem, but if I connect by entering the ip address, I am prompted to enter a logon and password to get in. Is there anyway I (and everybody else) can access without logging in?

My system is WinXP Pro. Right now, it is getting an ip through dhcp but I can change it to static if I have to.
 
If you do not run DNS internally you can do it as
this should work. You have to remember you are only allowed 10 concurrent connections to IIS with a W2K Pro box.

Rich Cook -- "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning."
 
jason,

My DC is running AD so I should be able to register it in the DNS right? I put my machine ip in the hosts file (using a bogus name which definitely isn't being used on the web), but I still can't access it. Am I doing it wrong?? I can access it by the computer name without a problem though, but not on the macs.
 
A few questions do the Macs use the Windows DNS server?
If so did you try the ip from the macs??
What did you get?

I am not sure but you may need to allow anonymous login for the web server.

This is done on the web server by going Start -> Programs -> Adminstrative Tools -> Internet Service Manager

Then a window will come up. you need to right click on the default web page then click properties. The go to the tab security accounts an confirm that you clicked anonymous login.

You may get a different look and you with 2 rows of tabs. You will need to go to Directory Security and click on the edit box in Anonymous access and authenication control. There you have to confirm that you are allowing ananymous login in.

If this doesnt help please post back

Jason

Rich Cook -- "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning."
 
The macs use the win2k server for dns. If I enter the machine ip, they get a logon box which behaves just like the windows box-which leads me to the next question:

I went to the properties box you told me and the 'allow anonymous logons' box was already checked. I noted that with the box checked, I can enter a username and password in boxes just below. If I uncheck the 'allow anonymous logon' box, these boxes are grayed out. In either case, whether i type the ip from a mac or a pc, I get the logon box. The logon won't accept a domain logon, a local logon or the logon I specify in the security policies.

My ideal solution would be to register this machine on the server DNS so the macs and pc's can access it by typing the I make up in the hosts file (on the server), but as I said before, this doesn't seem to work. I entered the line in the hosts file and renewed the ip/dns to refresh it, but it still doesn't work. Does it only work for static IPs?
 
correction: I realized I was editing the wrong hosts files. I found a hosts in the \i386 folders and windows\system32\drivers\etc--the latter was the one I had to change.

Still, I get the logon box to enter. From the server (the server that does the dns), I can enter a domain logon and get in, but from other computers, no logon works, even from the very computer that is hosting the intranet page.
 
I would recommend a static IP. The other thing is confirm where the default web page is that the NTFS rights are given to anonymous. Hmm where are you located in the world?

Rich Cook -- "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning."
 
I just gave the intranet server a static ip but no dice--same result

Where is the NTFS rights option? What does this do? In the authenticated access box of the directory security tab, I see "NTFS access control lists" mentioned but I don't see any option regarding this anywhere else.
By the way, I'm in NY. Why do you ask?
 
Ok go to the folder of that the index page is in right click the folder and go properties. Then click on the security tab. Check to see if everyone is on and what rights they have.

If everyone is not on click add and add everyone. After assign the user Read & Execute rights. This will assign other rights on the list and that is fine.


I was wonder if you were close and I would just come and fix it

Jason

Rich Cook -- "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning."
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top