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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Intranet Development 2

Status
Not open for further replies.

fattyfatpants

Programmer
Apr 22, 2004
68
US
I posted this message in the ASP section also, so right away I apologize for double posting...I am new to the whole web/intranet development circle and my employer wants me to develop a corporate intranet site...My first question is how do I do this?? I want to develop it using ASP/ASP.NET and of course IIS. I am very well versed at developing desktop applications with VB6 so I can grasp VBScript fairly easily and I know HTML pretty well. I have been experimenting with development and want to know how I can have someone enter instead of I don't know how to do this...any help would be greatly appreciated
 
Do you have access to your DNS server? Whether you do or not you need to add a header (intranet) for the domain that points to your web server IP address. Then in IIS you will need to add in the headers for the web site a host header for the full domain name (intranet.domain.com)

If you need any more help on any part of this post back...
 
Hmm I in a similar situation to fattyfatpants ( handle of the week ).

I understand the need to set up a name in the DNS.
I don't understand how you set the 'headers' up in IIS.
What function do they perform?

Dazed and confused
 
Headers in IIS allow you to have multiple sites coming in on a single IP address. If you have your intranet coming in on a seperate IP address you dont need to use host headers.

Assuming you are having 2 sites coming in on a single IP address you would go into IIS then

On the web for your intranet right click and go to properties

In IP address click advanced

Click Add

Put in the IP address which requests will arrive on, then the port (80)

Finally put in the host header, which would be something like intranet.mydomain.com (or whatever you set up in the DNS)

That web site will then take all requests for intranet.mydomain.com coming in on the ip address specified.

If you need more hlpe just let me know and i will try to explain a little better.... it is monday after all :)
 
Thats very helpful.

I was looking at the 'HTTP Headers' tab trying to make sense of it with regard to your previous posting. Now that
I'm looking in the correct place I see what you mean.

So you set up DNS to link your IP address to a cool name.
You then effectively map the two again in IIS ( IP to cool name ).

Since your DNS server is more local than the web, the DNS server will map the cool name to the IP address.


One more question. If this is an intranet environment, can you use any name you like? For example microsoft.com??
Silly example but you know what I mean.


Dazed and confused
 
Yes, if you have a local dns server you can map any domain name you want to point to one of your own local web servers.

Have fun!
 
but one thing to bear in mind,

Using internal DNS, if you map an existing external domain name to a intranet server the external one will be unavailable to anyone on the LAN. Handy for blocking dubious sites as well.



Chris.

Indifference will be the downfall of mankind, but who cares?
A website that proves the cobblers kids adage.
Nightclub counting systems

So long, and thanks for all the fish.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top