Thursday, October 20, 2011

Multiple Domain Hosting on one IP address using IIS 7

I'm working on finding a way to save IP addresses while hosting several redirection IIS sites.  I've burned three IP's and have been playing with the possibility of combining them into one IP.  Here are my findings that you can replicate on your IIS7 server:

  1. Add your new IP address to the production NIC group of IPs via the NIC's IPv4 properties
  2. Create your new IIS sites:
    1. I used Tom, Bob, and Ed for my new sites
    2. Ensure you've created default document pages for each site (default.htm or .asp)
    3. Tom is the anchor site which I connected bindings to the new IP address.  I selected the new IP address from the bindings menu and ensured there was no host name.
  3. Now that you've added the new IP address to your NIC, you should notice a new A record in DNS for your domain.  Edit this Host(A) entry to something specific to your new sites; I used MyHostTom.domain.com - connecting the DNS name to the anchor sites IP address
  4. I don't know if it's necessary but I also added a pointer record going to myhosttom.domain.com
  5. Insert an alias record in your domain DNS of Tom and point it to myhosttom.domain.com (the A record you made earlier).
  6. Use your web browser to test your DNS table by going to your new site via it's DNS address
  7. If your sites default page opens properly, then you can connect your other sites to your anchor site
    1. Go to the bindings for Bob and select "All unassigned" addresses and input bob.domain.com
    2. For your third site Ed, use *All unassigned* and ed.domain.com
  8. IIS will now read the incoming expected DNS name and route to the correct site via the anchor site of Tom.
If you have any questions about this post, as it's pretty full of acronyms and kinda vague, leave a comment or send me an email.  Thanks for reading.



View on Society

Personal experience shapes ones view of society.  Case in point, a coworker who works and lives in the same area as me has a different outlook on the future of our society.  The paths to how we became coworkers are different and must have influenced our views of the same society.  We can look at one object and possess two different interpretations.

I know this seems like a "duh" post but it's a realization to me of just how different humans are.  It reminds me of the Republicans and Democrats trying to fix our financial system.  But in their case, it's a lot more people than just two.

Wednesday, October 12, 2011

Finding Office Web Apps 2010 for SharePoint 2010

We've been searching everywhere for Microsoft's Office Web Apps 2010 for SharePoint 2010.  After asking a sales rep, we were given the link to Microsoft's VLSC site.  Your organization has to have a volume license agreement before you can enter the site.  Once in the site, go to the Office Professional Plus 2010 with SP1 site, click on the downloads link, then you'll see "Office Web Apps 2010 64-bit English (for SharePoint 2010)."  Also be aware that it uses its own software key, not that of Office 2010 or SharePoint.  Good luck.

Appending data to a list of items in a CSV file via PowerShell

I had a list of local usernames that needed to be appended with the domain name of bc\.  Since I'm learning PowerShell, I thought I'd try to find a solution via PS.  Here is what I did:
1.  Created a CSV file with everyone's name in one column and column header name of Name.
2.  Read up on how to append objects and write the new object out to a file.
3.  Created the script:
       import-csv .\names.csv|foreach -process { out-file -filepath names.txt -append -inputobject ("bc\" + $_.Name)}
4.  The script processes each line of the names.csv column by added bc\ to the existing column object then outputs the data into a new text file named names.txt and places the text file into the same file path as the CSV file.
5.  The result changed a username of BobSmith to BC\BobSmith.