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
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
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...
Join the HEXUS Folding at Home Team!!
Welcome to HEXUS! - Read this if you're new!
hexus trust | joshwaller.co.uk | tea review
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
Thanks, that worked.
Can't seem to do it in the web admin setup :/
There are currently 1 users browsing this thread. (0 members and 1 guests)