Posted by Darren | Posted in Technology, Work | Posted on 04-13-2010
1
At work I was asked to setup shortcuts (.lnk) to .pdf files over IIS.
Here is the change I made in IIS to make it work:
- Right click on a “Web Site” in IIS Manager
- In “Web Site Properties” click on the “HTTP Headers” tab
- Click “MIME Types” button
- Click “New”
- Extension “lnk”, MIME type “application/octet-stream”
- NOTE: I first tried MIME type “application/x-ms-shortcut”, but it displayed the content of the .lnk file and didn’t serve the .pdf to the user
Posted by Darren | Posted in Technology | Posted on 08-03-2009
1
I was interested on how to host multiple domains on a single server using only one IP address. In my case I’m using IIS 6.0 on Microsoft Windows Server 2003. This can be accomplished using “host headers”. The host header distinguishes between various DNS names sharing a single IP address, allowing name-based virtual hosting.
If you are creating a new website in IIS. The third page in the “Web Site Creation Wizard” has a field titled “Host header for this Web site (Default: None):”.

If the website has already been setup in IIS. Right click on the website and select “Properties”. In the “Web Site” tab, click the “Advanced…” button. Edit the current entry for the website to add a “Host Header value:”.
