Hot Downloads

Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: IIS 7.0

IIS 7.0 8 years 4 months ago #26991

  • Arani
  • Arani's Avatar
  • Offline
  • Moderator
  • Posts: 745
  • Thank you received: 10
  • Karma: 4
Hi all
It's been a while since I have ventured here again.
I have been dabbling with IIS 7.0, and I can't seem to get the basic thing right!!!
I have managed to setup the default web page. But I can't seem to be able to setup another web page along with the default web page. I can add another web site, and then add all the other relevant details. The moment I try to access the second non-default web site, I get the http 404.0 error. Also I noticed that IIS was trying to get the web page from the directory of the default website.
e.g. if the default web site directory is C:\DefaultWeb\, and the new website is under C:\WebSite2.
If I try to access Website2, IIS starts looking for it under:
C:\DefaultWeb\Website2, when it should have been looking under:
C:\WebSite2.
Any leads, anyone?
Picking pebbles on the shore of the networking ocean
The administrator has disabled public write access.

Re: IIS 7.0 8 years 4 months ago #26993

  • S0lo
  • S0lo's Avatar
  • Offline
  • Moderator
  • Posts: 1577
  • Thank you received: 7
  • Karma: 3
Hello Arani,

To have another website with a different root, you need to set a different port number. The default port for the default website is as you know 80. Set the second website to any other port (say 8080). Also make sure the web root folder in IIS is assigned to C:\WebSite2.

Then when you browse the website, type "http://server-name:8080" in the URL box.

Hope this helps.
Studying CCNP...

Ammar Muqaddas
Forum Moderator
www.firewall.cx
The administrator has disabled public write access.

Port numbers 8 years 4 months ago #26994

  • Arani
  • Arani's Avatar
  • Offline
  • Moderator
  • Posts: 745
  • Thank you received: 10
  • Karma: 4
Thanks for that, so for future reference, every new web site or web based application that I add to IIS will need to have a new port number?
Picking pebbles on the shore of the networking ocean
The administrator has disabled public write access.

Re: Port numbers 8 years 4 months ago #26995

  • S0lo
  • S0lo's Avatar
  • Offline
  • Moderator
  • Posts: 1577
  • Thank you received: 7
  • Karma: 3
Thanks for that, so for future reference, every new web site or web based application that I add to IIS will need to have a new port number?

Only if your new website is under a different web root folder. However, You can do it without a new port number if you put the folder of your new web site under the "default site" web root folder (in your case C:\DefaultWeb\). So when you type in the URL "http://server-name/Website2" it will look for it under C:\DefaultWeb\Website2 Just as you said and it will find it this time :)
Studying CCNP...

Ammar Muqaddas
Forum Moderator
www.firewall.cx
The administrator has disabled public write access.

... 8 years 4 months ago #26996

  • Arani
  • Arani's Avatar
  • Offline
  • Moderator
  • Posts: 745
  • Thank you received: 10
  • Karma: 4
Thanks again, only one more query left. Is there a specific rule for allocating port numbers for different web sites, or as long as I remain in the default domain of http port numbers, I would be ok? (obviously, not to put two web sites with the same port number)
Picking pebbles on the shore of the networking ocean
The administrator has disabled public write access.

Re: IIS 7.0 8 years 4 months ago #26997

  • S0lo
  • S0lo's Avatar
  • Offline
  • Moderator
  • Posts: 1577
  • Thank you received: 7
  • Karma: 3
There is no certain rule. But it's advised to stay away from the "well known port range" 0 to 1023 and the "registered ports range" 1024 to 49151. Pick some thing in 49152 to 65535.

However, even if you use a port from 0 to 49151. it's OK, as long as you don't have another service running in your server using that same port.

By the way 8080 is a registered port for "HTTP alternate", you can use it, no probs.
Studying CCNP...

Ammar Muqaddas
Forum Moderator
www.firewall.cx
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Time to create page: 0.082 seconds

CCENT/CCNA

Cisco Routers

  • SSL WebVPN
  • Securing Routers
  • Policy Based Routing
  • Router on-a-Stick

VPN Security

  • Understand DMVPN
  • GRE/IPSec Configuration
  • Site-to-Site IPSec VPN
  • IPSec Modes

Cisco Help

  • VPN Client Windows 8
  • VPN Client Windows 7
  • CCP Display Problem
  • Cisco Support App.

Windows 2012

  • New Features
  • Licensing
  • Hyper-V / VDI
  • Install Hyper-V

Linux

  • File Permissions
  • Webmin
  • Groups - Users
  • Samba Setup