Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 551
  • Last Modified:

IIS and http/https

1. How can I create a new website in IIS 7 to listen on port 80 http and to display a basic home page?

2. Is it possible to have a website on IIS 7 to listen on both port 80 http and port 443 https and if so how?

Lastly, how can I have a url directed to it?
0
tolinrome
Asked:
tolinrome
  • 2
1 Solution
 
N-WCommented:
1) Here's how to create a new website on port 80: http://www.hosting.com/support/iis7/create-new-sites-in-iis-7/. Once created, you need to place your webpages in the "Physical path" location specified in step 7 (C:\websites\domain in the example provided).

2) Here's how to configure a website for HTTPS: http://blogs.msdn.com/b/rakkimk/archive/2007/05/25/iis-7-how-to-configure-a-website-for-https.aspx?Redirected=true. HTTP will be setup by default, you just need to add an additional binding for HTTPS.

3) Here's how to setup redirection in IIS 7: http://technet.microsoft.com/en-us/library/cc732969%28v=ws.10%29.aspx. Read the "Procedures" at the bottom, relevant to your situation.
0
 
tolinromeAuthor Commented:
So if i create a site. For https then http is automatic? I don't need two separate sites?
0
 
N-WCommented:
When you create a new website, it will bind on port 80 for HTTP by default. You then need to add an additional binding on port 443 for HTTPS (as shown in the second article).

You don't need two separate sites, only one site with a binding on both port 80 and port 443.
0
 
sabhi1107Commented:
1- For Site creation in IIS 7 , kindly visit below URL:-
http://documentation.observeit-sys.com/index.htm#creating_a_new_web_site_in_iis_7_x.htm . Once you created the site you can place the webpage in home directory .

2- For Https configuration visit below link:-

http://blogs.msdn.com/b/rakkimk/archive/2007/05/25/iis-7-how-to-configure-a-website-for-https.aspx?Redirected=true

3) Here's how to setup redirection in IIS 7: http://technet.microsoft.com/en-us/library/cc732969%28v=ws.10%29.aspx. Read the "Procedures" at the bottom, relevant to your situation.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now