Webpage/IIS question
Dec. 1st, 2002 09:57 amThis is being cross-posted to different communities.
I have recently turned on the IIS services on my 2000 box so I can host my own website. According to the instructions I read, I needed to set up a colder in my C root called web_root, which I did. I named the home page default.html and you can connect to it fine. My problem is, if I try linking to other pages that I am hosting (let's say the page is webcam.html) I keep getting "page cannot be found" error. The html file is in the same folder (c"\web_root) as the default.html. I'm not sure if it is how I coded the link (currently its href="webcam.html"..but I've also tried href="http://www.myurl.com/webcam.html" and still no go).
Is there something different I have to do with IIS since I'm hosting myself? Is it something in my code? This is my first time writing a page (I'm a hardware guy) so it's possible I effed up the code. Any help would be appreciated.
I have recently turned on the IIS services on my 2000 box so I can host my own website. According to the instructions I read, I needed to set up a colder in my C root called web_root, which I did. I named the home page default.html and you can connect to it fine. My problem is, if I try linking to other pages that I am hosting (let's say the page is webcam.html) I keep getting "page cannot be found" error. The html file is in the same folder (c"\web_root) as the default.html. I'm not sure if it is how I coded the link (currently its href="webcam.html"..but I've also tried href="http://www.myurl.com/webcam.html" and still no go).
Is there something different I have to do with IIS since I'm hosting myself? Is it something in my code? This is my first time writing a page (I'm a hardware guy) so it's possible I effed up the code. Any help would be appreciated.
no subject
Date: 2002-12-01 08:19 am (UTC)Try typing in the name of the page into the browser instead of following a link. That will tell you whether it's the page itself or the link to it.
Also I suppose it could be some weird setting on the server, but like I said, I don't use IIS, so yeah.
no subject
Date: 2002-12-01 08:24 am (UTC)As long as the html file is in the exact same directory as the default.html file, the link should work. Most commonly, when the link breaks, it's because the file name is incorrect. Make sure that the file is *.html and not *.htm.
no subject
Date: 2002-12-01 08:43 am (UTC)Secondly .. I don't know where your information came from, but the directory for iis is supposed to be wwwroot or www_root. Dun remeber exactly which. I use apache myself.
no subject
Date: 2002-12-01 10:53 am (UTC)*grin*
no subject
Date: 2002-12-01 12:28 pm (UTC)no subject
Date: 2002-12-08 09:43 am (UTC)no subject
Date: 2002-12-08 09:44 am (UTC)