Solved

IIS7 and Intranet Site

Posted on 2010-09-15
3
1,010 Views
Last Modified: 2012-05-10
Hello,

I must admit, Web Servers are my weakness, especially IIS. I am trying to setup a website that is accessible ONLY by the company. I have all the hardware necessary, (DNS Server, Web Server with IIS7 server role installed, Active Directory), I just don't know the process to set this up. I would like for the company users to be able to put   IT.*CompanyName*.local    into their browser and then have it pop up with the site. Options?

Thanks!
0
Comment
Question by:DMcCulla
3 Comments
 
LVL 7

Accepted Solution

by:
myhc earned 167 total points
ID: 33682765
add a new A record to your DNS like intranet.company.local. pointing to the IP of the server

now in IIS add a new website next, next next, etc...
Edit the new site proities and in the header section add your new A record. This will then use this DNS record to access the site. noone outside will be able to access this.
0
 
LVL 20

Assisted Solution

by:woolnoir
woolnoir earned 167 total points
ID: 33682791
you need a A record within your DNS to point at the webserver running IIS. Assuming companyname.local is your AD DNS zone then add a A record called 'IT' pointing at its IP.

Then you need to configure the site within IIS with a host header for IT.companyname.local ( see this guide http://technet.microsoft.com/en-us/library/cc753195(WS.10).aspx ) specifically ....

To configure a host header for a site

You can perform this procedure by using the user interface (UI), by running Appcmd.exe commands in a command-line window, by editing configuration files directly, or by writing WMI scripts.

User Interface
To use the UI
Open IIS Manager. For information about opening IIS Manager, see Open IIS Manager (IIS 7).

In the Connections pane, expand the Sites node in the tree, and then select the site for which you want to configure a host header.

In the Actions pane, click Bindings.

In the Site Bindings dialog box, select the binding for which you want to add a host header and then click Edit or click Add to add a new binding with a host header.

In the Host name box, type a host header for the site, such as www.contoso.com.

Click OK.

To add an additional host header, create a new binding with the same IP address and port, and the new host header. Repeat for each host header that you want to use this IP address and port.

In addition you could configure the firewall on the machine to only accept tcp:80 (http) traffic from your internal LAN.
0
 
LVL 5

Assisted Solution

by:StefanKamp
StefanKamp earned 166 total points
ID: 33682828
If your fully qualified domainname is companyname.local, and the hostname running IIS7 is not IT, create a DNS record in the zone companyname.local manually; just add IT as record with the IP address of your webserver.

You should then be able to browse to http://it.companyname.local/.

You should either place your website (from IIS7 point of view) in Default Website, as it listens to any hostheaders, or create a new site within IIS7 binding it to it.companyname.local

Hope this helps.
Br. Stefan
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Periodically we have to update or add SSL certificates for customers. Depending upon your hosting plan you may be responsible for the installation and/or key generation. In the wake of Heartbleed many sites were forced to re-key. We will concen…
When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

786 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question