vote up 0 vote down star

I need to have a text file placed in the root of an IP address, something like http://aaa.bbb.ccc.ddd/textfile.txt

the server is

  • win2k3 sp2
  • running iis 6.
  • serving websites content using host headers.

Any advice as to how I would be able to set this up?

flag
Do you mean you could have multiple containers in IIS using the same IP Address and host headers? Yet you want a single text file to be browsed when you browse by IP address not by hostname? – Robin Day Aug 13 at 11:39

migrated from stackoverflow.com

1 Answer

vote up 3 vote down

Look in IIS and find out where in the file system the website address resovles to. Place your text file in that directory.

  1. Open IIS
  2. Click on Websites
  3. Right click on the name of the website, and select properties
  4. Click on theHome directory tab
  5. view home directory path

Or you could FTP to the site and upload the file to the root of the directory that way.

link|flag

Your Answer

Get an OpenID
or
never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.