Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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?

share|improve this question

migrated from stackoverflow.com Aug 13 '09 at 14:27

This question came from our site for professional and enthusiast programmers.

    
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 '09 at 11:39
    
possible duplicate of IIS 6: placing a text file in the root of an IP –  Evan Anderson Mar 14 '12 at 21:53

1 Answer 1

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.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.