Forum Moderators: open
I have created the virtual directory and placed my files on the 2003 server. I have created and granted the ASPNET account the rights it requires on the wwwroot folder. (There is a bug in the Framework 1.1 that forces you to set up the ASPNET account yourself when using a domain controller to host your site. See [support.microsoft.com...] for details.)
Here's my problem. After copying my files to the virtual folder I try to access the site from the server using [localhost...] folder name]/default.aspx and I get the error "Page cannot be found." All settings and directory structures match my XP box.
I'm baffled. Anyone have any suggestions?
Thanks,
evanheld
1)I can ping the localhost (address returned is 127.0.0.1)
2)I still get a Page not found when I reference the address without the default.aspx (Http://localhost/[virtual folder name])
3)When I access \\127.0.0.1 I get a folder view which displays the netlogon, Office, Shared, sysvol, and scheduled Tasks folders
at this point i would be looking at the vdir setup.
try setting up a mapping for your site to a
directory that is local to the server and
putting a file in there. then browse for that.
btw, if you already have a web site on the box,
ie, "Team Web Site", you will need to set up
host headers. (see help file)
and to test, if you do not yet have dns setup
for your new site, then you will need to setup
a hosts file to let you resolve by something
other than ip address or localhost.
set a host header for your site to www.example.com
set a host file entry for www.example.com to the
ip address of your server on the client machine,
preferably another machine
One last question for you. We are bringing a T1 line in here and when I'm ready with the site I will be taking over the web site from EarthLink (who is currently hosting their website, email, and ftp.) When the T1 is installed, I will have a static ip address(s). At this point, I would just change the Host Header info and the Host file to match. Am I correct in thinking that?
Thanks again,
evanheld
At this point, I would just change the Host Header info and the Host file to match. Am I correct in thinking that?
almost. the host file thing was just for testing
name resolution. you will need to have your dns
entries setup to point whatever host name you are using
in the host header to the ip address assigned to the
outside ip address of the server. you may also
need to deal with split horizon dns to be able
to reach the server from inside. the alternative
is to use a different host name for inside networks.
DO NOT FORGET TO SECURE YOUR SERVER BEFORE CONNECTING
WITH THE OUTSIDE WORLD
Do you think I need extra firewall software to protect sensitive files on the server?