Archive

Author Archive

Brain munch: Money

March 5, 2010 Leave a comment

Money is a toy introduced by mankind for mankind to be engaged for lifetime.

Categories: Brain Munch

IIS: How to map a domain name to a web site

January 2, 2010 9 comments

This post explains how to map domain names with IIS web site

Assumptions:

  • We have IIS hosted on a server with static IP and internet access (:|)
  • We own a public domain name (:|) which is to be mapped (:|)

For demo, I am assuming following values

  • server IP address : 222.222.222.222
  • public domain name to be mapped: map.jyotsna.com

Please note that these values are for demostration purpose only. I, in no way, own these.

To do: For IIS version 7

  1. Add and ‘A’ record to your DNS settings with value = IP of server. So my “A” record for jyotsna.com has value = 222.222.222.222
  2. Create a web site in IIS – if needed. For demostration, I am going to use “Default Web Site”
  3. Select the web site and choose bindings in Actions pane.
  4. In the Site Bindings dialog box, select the binding for which you want to add a host header and then click Edit or click Add to add a new binding with a host header.
  5. In the Host name box, type a host header for the site, which in my case is map.jyotsna.com
    IIS 7 edit website binding

    IIS 7 edit website binding

  6. Click on OK/ Apply to close all windows. There is NO NEED to restart IIS to reflect the changes.

To do: For IIS version 5.1 till 6

  1. Add and ‘A’ record to your DNS settings with value = IP of server. So my “A” record for jyotsna.com has value = 222.222.222.222
  2. Create a web site in IIS – if needed. For demostration, I am going to use “Default Web Site”
  3. Right click the concerned web site -> properties. In the “Web Site” tab, click on “Advanced” button.

    website

  4. In “Multiple identities for this Web Site” section, click “Add” button.

    Advanced

  5. You now need to mention three values
    Add
    • IP Address – this is IP address of the server. In my case it will be 222.222.222.222
    • TCP port – I want this website to be available on map.jyotsna.com irrespective of the actual IIS port assigned to “Default web site”. Hence I am going to specify 80. If I wanted the site to be available on map.jyotsna.com:666, I would have specified 666 as this value.
    • Host Header Name – map.jyotsna.com
  6. Click on OK/ Apply to close all windows. There is NO NEED to restart IIS to reflect the changes.

Related articles:

  1. Setting default virtual directory for your website
Categories: IIS

tortoise SVN: Copy a SVN bound directory to another repository

November 30, 2009 1 comment

Task at hand:
Copy a directory from within one SVN repository to another

Assumptions:
- Tortoise SVN as SVN client
- The two SVN repositories – being copied from and being copied to already exist

Steps:
1. Right click SVN bound directory that you with to copy. Choose tortoise SVN -> Export.
2. Specify path to an empty folder e.g. “c:\to_add”. Click on OK.
3. Now you have the SVN bound directory contents in this new directory “to_add”.
4. Right click on “to_add” and choose tortoise svn -> add
5. Specify path to the new repository and location inside it.
6. Right click on “to_add” and choose SVN Commit to make your changes permanent.

Voila !! You are done.

Categories: SVN

Brain munch: Crowd

July 8, 2009 3 comments

Crowd is gathering of people who think feeling lonely with other people is better than feeling lonely alone !

Categories: Brain Munch

Brain munch: Impression

June 11, 2009 3 comments

If only people could be themselves all the time with all the people and let others be , I wonder if this word would have been found !

Categories: Brain Munch

Brain munch: nostalgia

June 6, 2009 Leave a comment

Now can you define something like this without having felt it !
http://jyotsnasonawane.spaces.live.com/

Categories: Brain Munch

Brain munch: Strategy building

June 3, 2009 1 comment

Came across this image somewhere .. convinces me for strategy building requires facts at hand – facts that derive from a deep and careful study + observation. Must be a patience testing one – though was never convinced that managers are patient enough.

n767764652_1238952_8545

Categories: Brain Munch

Brain munch: Alcohol by definition

May 26, 2009 2 comments

I find this the most sensible of definitions of alcohol
- which you may not agree to .. or may agree to when totally out of senses

Colourless volatile liquid formed by the fermentation of sugars and also notes its
intoxicating effect of certain carbon based life forms.

Source: Encyclopedia galactica (HHGTTG)

Suprisingly, as HHGTTG says, definitions in almost all dictionaries available on earth are mind-blogglingly dull.

Categories: Brain Munch

What to do : When your SVN client saves a wrong password -> Make it forget it

May 13, 2009 1 comment

Applies to:
Any SVN client using putty to connect to SVN server. For e.g. tortoise SVN

Who is this post for?
This post is for anyone who wants SVN client and server to forget currently configured password

Steps to follow

  1. Know your repository URL
    For this you should be using tortoise SVN repo-browser and check out the URL. In my case, it looks like
    svn+ssh://jyotsnas@visharad/svnRepos/travel_broker

    This tells me following

    • linux username being used is jyotsnas
    • the svn server is named as visharad
    • Probably all SVN repositories are located under /var/svnRepos
  2. Now that we know the servername, in this case ‘visharad’, open putty. Under saved sessions list, you should find your server name. Refer to following screenshot for the same

    visharad in saved sessions of putty

    visharad in saved sessions of putty

  3. Click on Load button so that we can find out more. Putty looks like following when I clicked Load

    visharad session loaded in putty

    visharad session loaded in putty

    Looking at this I have more concrete information about server i.e. Host name/IP : 192.168.1.50

  4. Let’s move to the SSH->Auth in left tree structure -

    visharad ssh auth settings in putty

    visharad ssh auth settings in putty

    This screen tells me a path to a private key file on my machine.

    F:\Jyotsna\SVN sessions\visharad.ppk

    Delete this path from the text box.

  5. Go back to sessions in left tree and click on save.

    When you delete this path, putty is going to forget the password to be used. Since tortoise SVN uses putty in turn to connect to server, it will forget it too. And that is it.

Questions you might have

  1. Why should I not delete the session instead of the private key file path?

    In cases like mine, visharad name was given to a machine with IP 192.168.1.50. If I had deleted the session, I would have have to relocate all the SVN repositories already checked out on my machine so that the new URL contains 192.168.1.50 instead of visharad. Not deleting the session saves this hassel of mine and still make tortoise svn not use the remembered password.

  2. How can I make tortoise SVN remember a new password?

    Just refer to this link for the instructions

Related posts

Categories: SVN

IIS: Setting default virtual directory for your website

April 2, 2009 1 comment

Go to the website properties for which you want to set the default virtual directory -> Home directory. Set parameters as follows – Here the virtual directory I want to default to is named RoverService.

default_website_properties

Related posts

  1. IIS: How to map a domain name to a web site
Categories: IIS
Follow

Get every new post delivered to your Inbox.

Join 400 other followers