| glennki 2005-05-04, 9:53 am |
| Hi,
I get an error from FP2003 when trying to publish files from "...\My Documents\My Web Sites\Test" to the default web server "c:\Inetpub\wwwroot" on my local Windows XP Pro PC (all updates applied) by selecting the "Synchronise" radio button and the "Publish Web Site" button. The error is:
The folder C:\Inetpub\wwwroot is contained by a server-based web site. To access this site you must the http:// url for the web server.
So I tried to publish to http://localhost, but then I get a long error message:
Unable to open http://localhost
Server error: Could not find a web server at http://localhost. Bla, bla, bla...
Possible causes:
1. The web server may not have the Frontpage Server Extensions installed (they are)
2. bla
3. bla
4. bla
Background: What I'm trying to do is develop a web site on my local PC, and also host it on the same PC. But develop and host in two different folders so that I have a dev and production environment.
- I have full admin and write permissions in the c:\Inetpub\wwwroot folder.
- IIS is v5.1, and it is running
- Frontpage Server Extensions ARE installed
- I can access a Default.htm file that I copied into c:\Inetpub\wwwroot folder via http://localhost or my domain name or http://machine_name/ (proof that the web serv is running)
- I cannot explain why I can select a file in the left pane (local web site) and manually publish or copy it to the right pane (remote web site) ??? but the Publish button produces the above error messages.
I'd like to avoid developing in the production folder. Rather, I'd like to develop the web site in "...\My Documents\My Web Sites\Test" and periodically publish it to the local default web server by selecting "Synchronise" radio button and the "Publish Web Site" button.
Is my approach correct, and can anyone explain why I cannot publish to http://localhost ?
Thanks in advance |