Results 1 to 4 of 4

Thread: Win 2003 / IIS Help Needed

  1. #1
    Cable Guy Jonny M's Avatar
    Join Date
    Jul 2003
    Location
    Loughborough Uni
    Posts
    4,263
    Thanks
    0
    Thanked
    4 times in 1 post

    Win 2003 / IIS Help Needed

    Hi,

    I'm having a slight problem with IIS, where I can type www.caged.net and get my site (currently a 403 error, which is because directory browsing is disabled), and http://caged.net, which gives a 404.

    What can I do to solve this?

    Thanks

  2. #2
    Senior Member joshwa's Avatar
    Join Date
    Jul 2003
    Location
    Sheffield, UK
    Posts
    4,856
    Thanks
    132
    Thanked
    67 times in 62 posts
    • joshwa's system
      • Motherboard:
      • PC Chips M577 AT/ATX
      • CPU:
      • AMD K6-2 500Mhz
      • Memory:
      • 128mb PC100 SDRAM
      • Storage:
      • 8GB Fujitsu
      • Graphics card(s):
      • 3dfx Voodoo 3 3000 AGP (16mb)
      • PSU:
      • ATX 500watt
      • Case:
      • Midi Tower AT
      • Operating System:
      • Windows 98 SE
      • Monitor(s):
      • 22" TFT Widescreen
    have you got an index or default page in there?

    you may need to add index.htm or index.html to the 'documents' bit - or enable default document - i assume it's the same on w2003, as it is on win2000 which is what i'm using...

  3. #3
    Ex-MSFT Paul Adams's Avatar
    Join Date
    Jul 2003
    Location
    %systemroot%
    Posts
    1,926
    Thanks
    29
    Thanked
    77 times in 59 posts
    • Paul Adams's system
      • Motherboard:
      • Asus Maximus VIII
      • CPU:
      • Intel Core i7-6700K
      • Memory:
      • 16GB
      • Storage:
      • 2x250GB SSD / 500GB SSD / 2TB HDD
      • Graphics card(s):
      • nVidia GeForce GTX1080
      • Operating System:
      • Windows 10 x64 Pro
      • Monitor(s):
      • Philips 40" 4K
      • Internet:
      • 500Mbps fiber
    Are you using host headers by any chance?

    The IP address for www.caged.net resolves to exactly the same as caged.net, so the A/CNAME DNS records look okay at first glance, and we must assume the requests are hitting your web server.

    If you enter http://[IP address] you get the same error as for caged.net, which would kind of indicate this is the case.

    Assuming it's the same as the Internet Services Manager as in Windows 2000, you have 2 possible solutions:

    i) don't use host headers
    ii) add caged.net to the list of host headers for that site

    The first option is only possible if you don't run multiple sites on the 1 IP address.


    To view/edit host headers through the IIS 5.0 admin interface:
    - launch Internet Services Manager
    - expand your server
    - right click your website in the left pane, click Properties
    - on the "Web Site" tab, click "Advanced"

    By default, in IIS 5.0 you have just 1 entry:
    [All Unassigned], port 80, {blank}

    By having the "Host Header Name" field blank means the website will accept requests that hit its IP adderss regardless of what was typed in.


    All that is correct for Windows 2000/IIS 5.0, YMMV.
    ~ I have CDO. It's like OCD except the letters are in alphabetical order, as they should be. ~
    PC: Win10 x64 | Asus Maximus VIII | Core i7-6700K | 16GB DDR3 | 2x250GB SSD | 500GB SSD | 2TB SATA-300 | GeForce GTX1080
    Camera: Canon 60D | Sigma 10-20/4.0-5.6 | Canon 100/2.8 | Tamron 18-270/3.5-6.3

  4. #4
    Cable Guy Jonny M's Avatar
    Join Date
    Jul 2003
    Location
    Loughborough Uni
    Posts
    4,263
    Thanks
    0
    Thanked
    4 times in 1 post
    Thanks, that worked.

    Can't seem to do it in the web admin setup :/

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Radeon 8500 linux driver install problems
    By Dorza in forum Software
    Replies: 0
    Last Post: 22-09-2003, 12:00 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •